Created
September 19, 2013 10:57
-
-
Save mikemanger/6621850 to your computer and use it in GitHub Desktop.
I always type `git branches` instead of `git branch` to list my branches, copy this to your .bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git function for branches | |
git() { if [[ $@ == "branches" ]]; then command git branch | more; else command git "$@"; fi; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment