mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
Adding grt alias to the git plugin.
This commit is contained in:
parent
c2ae9e09ca
commit
7be660bf1d
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ compdef _git gm=git-merge
|
||||||
alias grh='git reset HEAD'
|
alias grh='git reset HEAD'
|
||||||
alias grhh='git reset HEAD --hard'
|
alias grhh='git reset HEAD --hard'
|
||||||
|
|
||||||
|
# Will cd into the top of the current repository
|
||||||
|
# or submodule.
|
||||||
|
alias grt='cd $(git rev-parse --show-toplevel || echo ".")'
|
||||||
|
|
||||||
# Git and svn mix
|
# Git and svn mix
|
||||||
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
|
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
|
||||||
compdef git-svn-dcommit-push=git
|
compdef git-svn-dcommit-push=git
|
||||||
|
|
Loading…
Reference in a new issue