|
|
|
@ -39,11 +39,14 @@ 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' |
|
|
|
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium' |
|
|
|
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium' |
|
|
|
|
|
|
|
alias gf='git ls-files | grep' |
|
|
|
|
|
|
|
|
|
|
|
# Will cd into the top of the current repository |
|
|
|
# Will cd into the top of the current repository |
|
|
|
# or submodule. |
|
|
|
# or submodule. |
|
|
|
alias grt='cd $(git rev-parse --show-toplevel || echo ".")' |
|
|
|
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 |
|
|
|
|