I noticed that my LFS was taking up 80% of the 1GB free storage and thought that was no good. So i was following old threads such as this: GIT LFS tracking too many files
And was following the many methods listed here and elsewhere. ultimately none of that really seemed to free up any space when checking my “Billing” section on my GitHub profile. so i ended up just removing my repo on GitHub and making a new one, which actually DID reset my LFS usage to zero. and after running all of this “bgf” commands and whatnot, i actually moved a saved copy of my
.git directory and overwrote it in my Testing Grounds project, and now when i try to push to my new fresh repo i keep getting this error:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream GitHub master:master Pushing to https://github.com/ktonegawa/Udemy_UnrealCourse01_Section05_TestingGrounds.git Uploading LFS objects: 0% (0/1), 0 B | 0 B/s open C:\Users\Desktop02\Documents\repos\S05_TestingGrounds\Content\Static\Levels\FirstPersonExampleMap.umap: The system cannot find the path specified. error: failed to push some refs to 'https://github.com/ktonegawa/Udemy_UnrealCourse01_Section05_TestingGrounds.git' Completed with errors, see above.
and of course that specified file does not exist, because everything was moved during the past lecture from moving the Levels directory from Static to Dynamic. So now i am sitting here without being able to push this to my GitHub account.
For now i have disabled LFS and will continue to ignore all LFS type lectures (since i just checked my BattleTank project and that was way bigger apparently and everything else got pushed fine AND the large files weren’t even part of the the .gitignore file).
But if there is there a way to reset the history of the LFS so that I can just push this to my fresh repo, please let me know as i am happy to remove and restart my repo on GitHub…