Files
git_tools/bin/git-cleanup.sh
2023-06-28 05:38:02 -04:00

4 lines
135 B
Bash
Executable File

#!/bin/sh
git remote prune origin && git replace && git prune-packed && git reflog expire --expire=1.month.ago && git gc --aggressive