Add my own custom Git helpers
- git clone git@github.com:solmazabbaspour/git-helpers.git ~/github/git-helpers
- Add
export PATH=$PATH:~/github/git-helpersto your~/.bash_profile - Run
source ~/.bash_profile - Now you can run
git clean-branchesand it will ask your permission to delete each branch that doesn't have a remote branch
To add new commands just follow the same format as the existing files. Make sure you change the file mode to executable.