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'
|
alias gcms='git commit --gpg-sign -m'
|
||||||
|
|
||||||
# switch to a branch or checkout file(s) from a commit
|
# switch to a branch or checkout file(s) from a commit
|
||||||
alias gco='git checkout'
|
alias gco="\
|
||||||
|
git \
|
||||||
|
checkout \
|
||||||
|
"
|
||||||
|
|
||||||
# checkout an orphan branch
|
# checkout an orphan branch
|
||||||
alias gcoo='git checkout --orphan'
|
alias gcoo="\
|
||||||
|
git \
|
||||||
# checkout development branch
|
checkout \
|
||||||
alias gcod='git checkout dev'
|
--orphan \
|
||||||
|
"
|
||||||
# checkout feature branch
|
|
||||||
alias gcof='git checkout f'
|
|
||||||
|
|
||||||
# pick a commit
|
# pick a commit
|
||||||
alias gcp="\
|
alias gcp="\
|
||||||
|
|
Loading…
Reference in a new issue