mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 03:34:22 +08:00
Adding a ggpnp which does a git pull followed by a git push.
This commit is contained in:
1 parent
fca8b7e3e6
commit
7f350da5b7
1 file changed
+1
@@ -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)'
|
||||||
Reference in new issue
Block a user