Closed NewGraphEnvironment closed 1 year ago
for size used https://stackoverflow.com/questions/8185276/find-size-of-git-repository
git gc
du -sh .git/
before running https://stackoverflow.com/questions/13716658/how-to-delete-all-commit-history-in-github
99M .git/
after
99M .git/
hmmm.
no history though...
$ git log
commit fa1d3d81097c150608e90726ece59540947b2377 (HEAD -> main, origin/main, origin/HEAD)
Author: almac2022 <al@newgraphenvironment.com>
Date: Wed Oct 18 09:14:19 2023 -0700
then went with https://stackoverflow.com/questions/2116778/reduce-git-repository-size
git gc --aggressive --prune=now
to get
95M .git/
made from large template but won’t need most of it
increases commit speed and sheds flab
https://stackoverflow.com/questions/13716658/how-to-delete-all-commit-history-in-github