adding git svn aliases

This commit is contained in:
Sven Lito 2010-10-09 23:09:42 +01:00
commit e5e032fa17

View file

@ -16,6 +16,8 @@ alias glg='git log --stat --max-count=5'
# 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'
alias gsr='git svn rebase'
alias gsd='git svn dcommit'
# #
# Will return the current branch name # Will return the current branch name
@ -29,4 +31,4 @@ function current_branch() {
# these aliases take advangate of the previous function # these aliases take advangate of the previous function
alias ggpull='git pull origin $(current_branch)' alias ggpull='git pull origin $(current_branch)'
alias ggpush='git push origin $(current_branch)' alias ggpush='git push origin $(current_branch)'
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)' alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'