We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4da8b4e commit f1b0fe4Copy full SHA for f1b0fe4
bash/bash-aliases.md
@@ -10,7 +10,7 @@ alias giad='git add'
10
alias gicl='git clone'
11
alias gic='git commit -m'
12
alias gica='git commit --amend'
13
-alias gip='git push'
+alias gip='git push || git push --set-upstream origin `git branch --show-current`'
14
alias gil='git pull'
15
alias gif='git diff'
16
alias gifs='git diff --staged'
0 commit comments