mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
Add gcd for checking out default branch
This commit is contained in:
parent
644bc641ad
commit
36cb15a105
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ alias gcl='git clone --recursive'
|
|||
alias gclean='git clean -fd'
|
||||
alias gpristine='git reset --hard && git clean -dfx'
|
||||
alias gcm='git checkout master'
|
||||
alias gcd="git remote show origin | awk '/HEAD branch:/ {print \$3}' | xargs git checkout"
|
||||
alias gcmsg='git commit -m'
|
||||
alias gco='git checkout'
|
||||
alias gcount='git shortlog -sn'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue