]> Git — Sourcephile - julm/julm-nix.git/commitdiff
git: alias: add repack-* main
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Sun, 16 Feb 2025 18:50:55 +0000 (19:50 +0100)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Sun, 16 Feb 2025 18:50:55 +0000 (19:50 +0100)
home-manager/profiles/git.nix

index 645a2e8d8588b566cbd5ad07bda74da318732486..7f320a18b49952c68bae2e4c03029501e248abf3 100644 (file)
@@ -65,6 +65,8 @@
       pf = "push -v --force-with-lease --force-if-includes";
       pl = "pull";
       r = "reset";
+      repack-1 = "git repack -a -d -f --depth=1 --window=1";
+      repack-250 = "git repack -a -d -f --depth=250 --window=250";
       rh = "reset --hard";
       ri = "rebase -i";
       rp = "reset -p";