Table of Contents
git config credential.helper store git config --global push.default simple git config --global user.email you@example.com |
git add --all && git commit -m "%1" && git push |
The equivalent of "git gc --aggressive" - but done *properly* - is to do (overnight) something like
where that depth thing is just about how deep the delta chains can be (make them longer for old history - it's worth the space overhead), and the window thing is about how big an object window we want each delta candidate to scan. And here, you might well want to add the "-f" flag (which is the "drop all old deltas", since you now are actually trying to make sure that this one actually finds good candidates. |
Cleanup
git repack -a -d -f --depth=250 --window=250 |
Compact
git gc --aggressive --prune |