For the past week, I’ve recieve this notice everytime I try to sync my project to GitHub.
[p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo} GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. Trace: 84c1cadbd209154c2067e806378fd523 See Managing large files - GitHub Docs for more information. File Temp/StagingArea/TheCityBeta.app/Contents/Resources/Data/sharedassets0.assets.resS is 350.02 MB; this exceeds GitHub’s file size limit of 100.00 MB]
I don’t know what this means, but it’s preventing me from making any more commits to GitHub. I’m looking for the Unity game folder, where the GitHub is synced, but the file doesn’t exist. Help is much appreciated. Thank you.
I couldn’t figure out how to implement .gitignore, but I found a simple solution to my problem, which was to “Undo Most Recent Commit” a couple of times, which made it go back to before I was having the issue. Then, I resynced the folder and was able to make the update! Thank you for your help. Now, I can start uploading my progress of The City: Drone Escape to GitHub again!
Just add a file with the name “.gitignore” with the contents of the file TitoOliveira linked you to in the root of your git project. You’ll want to start using a gitignore file to avoid committing unnecessary files in the future.
This is true, but if you have already added the files to your repository, then .gitignore will not stop git from tracking them - so you have to remove things manually and then use a gitignore