mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 10:13:37 +08:00
Adding a ggpnp which does a git pull followed by a git push.
This commit is contained in:
parent
fca8b7e3e6
commit
7f350da5b7
|
@ -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 New Issue
Block a user