7f350da5b74c65ed99766c8ebd5137aee9479225
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Adding a ggpnp which does a git pull followed by a git push.
Diff
1diff --git a/plugins/git.plugin.zsh b/plugins/git.plugin.zsh
2index e0d96705640d4a4ffbddf0a13e12996175cdd61f..655eaf728de883e37884ad328b45bc8104d7c53d 100644
3--- a/plugins/git.plugin.zsh
4+++ b/plugins/git.plugin.zsh
5@@ -29,3 +29,4 @@ function current_branch() {
6 # these aliases take advangate of the previous function
7 alias ggpull='git pull origin $(current_branch)'
8 alias ggpush='git push origin $(current_branch)'
9+alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'