No more git push -u
Hello in this short post I will show you how to avoid to set up the upstream branch when you're doing a git push.
when you create a new branch and you should to push your changes you should to set up the upstream with:
git push -u origin my-branch-name
right but if you set up git to automatically set the upstream branch with the current one with:
git config --global --add --bool push.autoSetupRemote true
boom! with this command the next time you just should do a git push
Comments ()