bash : git : add gchb to checkout branch.
This commit is contained in:
parent
4405cfb998
commit
60c684e942
|
@ -470,6 +470,7 @@ Command|Description
|
||||||
`gd`|Git diff.
|
`gd`|Git diff.
|
||||||
`gc [MESSAGE]`|Git commit.
|
`gc [MESSAGE]`|Git commit.
|
||||||
`gch`|Git checkout.
|
`gch`|Git checkout.
|
||||||
|
`gchb`|Git checkout branch.
|
||||||
`gb`|Git branch.
|
`gb`|Git branch.
|
||||||
`gbd [BRANCH]`|Delete specified Git branch.
|
`gbd [BRANCH]`|Delete specified Git branch.
|
||||||
`gf`|Git fetch --all.
|
`gf`|Git fetch --all.
|
||||||
|
|
|
@ -8,6 +8,7 @@ alias gst="git stash"
|
||||||
alias gd="git diff"
|
alias gd="git diff"
|
||||||
alias gc="git commit -m"
|
alias gc="git commit -m"
|
||||||
alias gch="git checkout"
|
alias gch="git checkout"
|
||||||
|
alias gchb="git checkout -b"
|
||||||
alias gb="git branch --all"
|
alias gb="git branch --all"
|
||||||
alias gbd="git branch -D"
|
alias gbd="git branch -D"
|
||||||
alias gf="git fetch --all -v -p"
|
alias gf="git fetch --all -v -p"
|
||||||
|
@ -74,6 +75,7 @@ __git_complete gst _git_stash
|
||||||
__git_complete gd _git_diff
|
__git_complete gd _git_diff
|
||||||
__git_complete gc _git_commit
|
__git_complete gc _git_commit
|
||||||
__git_complete gch _git_checkout
|
__git_complete gch _git_checkout
|
||||||
|
__git_complete gchb _git_checkout
|
||||||
__git_complete gb _git_branch
|
__git_complete gb _git_branch
|
||||||
__git_complete gbd _git_branch
|
__git_complete gbd _git_branch
|
||||||
__git_complete gf _git_fetch
|
__git_complete gf _git_fetch
|
||||||
|
|
Reference in a new issue