mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
adding git svn aliases
This commit is contained in:
parent
df29411154
commit
e5e032fa17
1 changed files with 3 additions and 1 deletions
|
|
@ -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)'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue