Skip to content

axelkjonsberg/remove-git-branches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RGB – Shell command for removing unused Git branches

License_badge

A shortcut terminal command for removing all local Git branches which do not have a corresponding remote.

Fetches and prunes remote branches. If a local branch does not have any existing remote, remove it!

The command will list all the branches it wants to delete and ask the user for confirmation. The command will also ask the user if they would like to delete their current branch (if they are not already on 'main' or 'master').

About

Shell function for removing unused Git branches

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors