I'm really annoyed I have to do
`git push --set-upstream origin <my_branch>`
every time for new git branch. Is there any way I can skip it? I found this https://github.com/nvbn/thefuck
but I'm looking for solution that skip push --set-upstream
I'm really annoyed I have to do
`git push --set-upstream origin <my_branch>`
every time for new git branch. Is there any way I can skip it? I found this https://github.com/nvbn/thefuck
but I'm looking for solution that skip push --set-upstream
As I understand you don't want to skip it per se, you still want to set upstream but without so much hustle, right? In that case, you can use a shortcut:
git push -u origin <my_branch>