gco
This commit is contained in:
parent
a8d4d6373e
commit
4a500e83ac
1 changed files with 9 additions and 8 deletions
|
@ -79,16 +79,17 @@ alias gcmr='git commit --allow-empty --allow-empty-message -m ""'
|
|||
alias gcms='git commit --gpg-sign -m'
|
||||
|
||||
# switch to a branch or checkout file(s) from a commit
|
||||
alias gco='git checkout'
|
||||
alias gco="\
|
||||
git \
|
||||
checkout \
|
||||
"
|
||||
|
||||
# checkout an orphan branch
|
||||
alias gcoo='git checkout --orphan'
|
||||
|
||||
# checkout development branch
|
||||
alias gcod='git checkout dev'
|
||||
|
||||
# checkout feature branch
|
||||
alias gcof='git checkout f'
|
||||
alias gcoo="\
|
||||
git \
|
||||
checkout \
|
||||
--orphan \
|
||||
"
|
||||
|
||||
# pick a commit
|
||||
alias gcp="\
|
||||
|
|
Loading…
Reference in a new issue