Skip to content

Remove abandoned git branches

License

Notifications You must be signed in to change notification settings

jeffkenney/git-clean-old-busted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

git-clean-old-busted

This utility will remove branches which exist locally but do not exist on the remote, e.g. branches which have been deleted on GitHub but still exist on your local machine.

To prevent losing local work which has not yet been pushed to a remote, branches will not be deleted if their latest commit is less than 30 days old.

Usage

# through a direct script call
$ ./git-clean-old-busted

# or, through a git alias
$ git config --global alias.clean-old-busted '!/path/to/git-clean-old-busted'
$ git clean-old-busted

About

Remove abandoned git branches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages