feat: gitgc

This commit is contained in:
Ryan Yin committed 2024-01-26 18:12:39 +08:00
1 parent b9a206054a
commit 66276562b9
1 file changed
+4
+4
View File
@@ -51,6 +51,10 @@ gc:
sudo nix store gc --debug
sudo nix-collect-garbage --delete-old
gitgc:
git reflog expire --expire-unreachable=now --all
git gc --prune=now
############################################################################
#
# Darwin related commands, harmonica is my macbook pro's hostname