diff --git a/bin/git-cleanup.sh b/bin/git-cleanup.sh new file mode 100755 index 0000000..115a696 --- /dev/null +++ b/bin/git-cleanup.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +git remote prune origin && git replace && git prune-packed && git reflog expire --expire=1.month.ago && git gc --aggressive