Skip to content

Perform garbage collection on all git repos in a given directory

Notifications You must be signed in to change notification settings

no-gravity/git-gc-all-repos.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

git-gc-all-repos.sh

Perform garbage collection on all git repos in a given directory

It uses "git prune -v" to delete obsolete objects.

"git gc --aggressive --prune=all" would result in even smaller repos, but would also bloat incremental backups as it changes the content of files.

License: GNU General Public License, version 2

About

Perform garbage collection on all git repos in a given directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages