gcob alias (checkout new branch)

I prefer to use gco -b to create a new branch and check it out in one fell swoop.  This alias would enable that with `gcob`.
This commit is contained in:
jshort 2017-02-01 13:37:51 -08:00 committed by GitHub
parent d2725d44fc
commit c6627adb35

View File

@ -76,6 +76,7 @@ alias gcm='git checkout master'
alias gcd='git checkout develop' alias gcd='git checkout develop'
alias gcmsg='git commit -m' alias gcmsg='git commit -m'
alias gco='git checkout' alias gco='git checkout'
alias gcob='git checkout -b'
alias gcount='git shortlog -sn' alias gcount='git shortlog -sn'
compdef _git gcount compdef _git gcount
alias gcp='git cherry-pick' alias gcp='git cherry-pick'