mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
Adding a ggpnp which does a git pull followed by a git push.
This commit is contained in:
parent
fca8b7e3e6
commit
7f350da5b7
1 changed files with 1 additions and 0 deletions
|
@ -29,3 +29,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)'
|
Loading…
Reference in a new issue