1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 20:18:00 +08:00

Adding a ggpnp which does a git pull followed by a git push.

This commit is contained in:
Robby Russell 2010-06-10 07:50:13 -07:00
parent fca8b7e3e6
commit 7f350da5b7

View File

@ -29,3 +29,4 @@ function current_branch() {
# these aliases take advangate of the previous function
alias ggpull='git pull origin $(current_branch)'
alias ggpush='git push origin $(current_branch)'
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'