Skip to content

Files

Latest commit

d150cec · May 21, 2022

History

History

git-pruner

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 21, 2022
Jan 11, 2022

README.md

git pruner

Prune using our recommnded way i.e. prune everything unreachable now

Git alias:

pruner = !"git prune --expire=now; git reflog expire --expire-unreachable=now --rewrite --all"

Example:

git pruner

This command takes a long time to run, perhaps even overnight.

This is useful for removing unreachable objects from all places.

By CodeGnome