mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
compdef for git plugin
This commit is contained in:
parent
95310800ff
commit
e6fc584464
1 changed files with 5 additions and 0 deletions
|
|
@ -95,10 +95,15 @@ alias gmt='git mergetool --no-prompt'
|
|||
compdef _git gmt=git-mergetool
|
||||
|
||||
alias gg='git gui citool'
|
||||
compdef _git gg='git gui'
|
||||
alias gga='git gui citool --amend'
|
||||
compdef _git gga='git gui citool --amend'
|
||||
alias gk='gitk --all --branches'
|
||||
compdef _git gk='gitk'
|
||||
alias gss='git stash show --text'
|
||||
compdef _git gss='git stash show'
|
||||
alias gitk-entier-history='gitk --all $(git log -g --pretty=format:%h)' # show complete history, with dangling commits
|
||||
compdef _git gitk='gitk'
|
||||
# Note: if the commit has been cleaned my 'git gc', the dangling commits older than 2 weeks may have been deleted
|
||||
#
|
||||
alias gitconfig="vim ~/.gitconfig"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue