Skip to content

A simple bash script to reduce your local repos' size

License

Notifications You must be signed in to change notification settings

caarlos0-graveyard/git-gc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

git-gc SayThanks.io

A simple bash script to reduce your local repos' size.

Usage

$ ./git-gc ~/Code
$ DEBUG=1 ./git-gc ~/Projects

What does it do?

Basically, it expires all reflogs with git reflog expire --all --expire=now and then it does an aggressive GC with git gc --aggressive --prune=now.

And, sure, print the results!

About

A simple bash script to reduce your local repos' size

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages