ayrama / STA9750-2024-FALL

Project from STA9750 - Fall 2024
0 stars 0 forks source link

STA/OPR 9750 ayrama MiniProject #03 #8

Open ayrama opened 5 days ago

ayrama commented 5 days ago

Hi @michaelweylandt!

I had the same problem with MP03 as I had with MP02. When I tried to push the committed files, Git started uploading hundreds of megabytes, even though I selected only the necessary files (mp03.qmd, mp02.html, and images from the docs folder). From my experience with Mini Project 02, I remembered the issue might be related to the Git history.

I tried different ways to solve it. I reverseed commits (both soft and hard), stopped tracking unnecessary files, removed large files temporarily after rendering mp03.html locally, tried pip, added a list of unnecessary files to .gitignore, removed all MP03-related files from the folder and rendered mp03.qmd again. But none of this worked.

Today I decided to delete the entire project. Before doing that, I saved mp03.qmd, mp03.html, and the images in a separate folder. After pulling the project back to my computer, I added the saved MP03 files and committed the whole project folder. This time it worked, and the webpage loaded in just a few seconds.

I think the problem happens because I store files for all mini projects in one folder, which might be causing issues with Git commits.

https://ayrama.github.io/STA9750-2024-FALL/mp03.html