Interactive git branch pruning tool
██╗███╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗███████╗███████╗
██║████╗ ██║ ██╔══██╗██╔══██╗██╔═══██╗██╔════╝ ██╔══██╗██╔════╝██╔════╝██╔════╝
██║██╔██╗ ██║ ██████╔╝██████╔╝██║ ██║██║ ███╗██████╔╝█████╗ ███████╗███████╗
██║██║╚██╗██║ ██╔═══╝ ██╔══██╗██║ ██║██║ ██║██╔══██╗██╔══╝ ╚════██║╚════██║
██║██║ ╚████║ ██║ ██║ ██║╚██████╔╝╚██████╔╝██║ ██║███████╗███████║███████║
╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝
- Tests
- Creating installer
- Building out the client (Supporting 2FA, adding features, cleaning up etc.)
- Adding
soft
,interactive
, andall
prune modes
Since there is no installer yet, simply clone this repository to your computer and add the following to your .bashrc
file:
export PRUNEPATH=<path to cloned directory>
source $PRUNEPATH/main.sh
- local prune
prune -l -f
: Simply deletes local branches that do not exist on the remote (requires-f
)
NOTE: Prune currently requires gnu-sed
to be installed with the with-default-names
option. If you do not have it, you will be prompted to install it via Homebrew. you will need to install it via Homebrew using brew install gnu-sed --with-default-names
.
Please feel free to open issues or ask questions! I am available at [email protected]