After taking the Git Smart Course, I am applying it to your other Unity Courses, but Sourcetree has a file size limit issue of 10MB.
I am building games and using Sourcetree for my git backup system, but I have run into 10mb file size limit for commits with Sourcetree, but I found git file size limit is 2GB.
However I can upload to Git with GitDesktop or the Terminal without getting file size limit error.
I found in Sourcetree to change in DIFF the limit to 2048000KB (2GB) but it is still not working…
A lot of game assets (like in Complete 3D Unity Course) can be bigger than 10mb and packages that are around 1.5gb. I also had trouble with the post.buffer past 2GB, I think git disconnects after 2GB total upload which I understand, and will try to commit and push in smaller increments.
I do like to see the visual changes on branches in Sourcetree, but it is becoming unusable with the file size limit issue I keep running into. I believe the Git Smart Course could use some updated sections on how to change the file size limit for other courses you have in order to implement the use of the Sourcetree application.
Any help on fixing the file size limit in Sourcetree will be appreciated.
Sourcetree 10MB File size limit before needing Git LFS // Git Limit is 2GB
I had tried to install Git LFS and see what would happen but it just caused more issues, I had made many changes on my projects with all this file size issue, I was 4 commits deep on a couple and could not back up my games! It took 4 days of troubleshooting to figure out what I need to do to fix it. I made a local backup of my back and I found some youtube videos on how to use the ‘git rebase -i HEAD~5’ (Which is also not covered in Git Smart Course) option to squash and drop commits which combined or erased them. I erased many commits, and then copied from my back up the files i needed to restore my game without including the .git folder that keeps track of commits. Anyways, it set back my schedule a ton and it was very difficult to figure out. I know that others may not have been able to figure out what I have and I wanted to help others by making it known.