mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Add gcop alias for git checkout --patch
`git checkout --patch` is just similar to `git add --patch` but for undoing changes in index.
This commit is contained in:
parent
140034605e
commit
a43019dd67
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ alias gcmsg='git commit -m'
|
||||||
compdef _git gcmsg=git-commit
|
compdef _git gcmsg=git-commit
|
||||||
alias gco='git checkout'
|
alias gco='git checkout'
|
||||||
compdef _git gco=git-checkout
|
compdef _git gco=git-checkout
|
||||||
|
alias gcop='git checkout --patch'
|
||||||
alias gcm='git checkout master'
|
alias gcm='git checkout master'
|
||||||
alias gr='git remote'
|
alias gr='git remote'
|
||||||
compdef _git gr=git-remote
|
compdef _git gr=git-remote
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue