Open nelsonic opened 2 years ago
git config --global --add push.default current
git config --global --add push.autoSetupRemote true
Via: https://pawelgrzybek.com/auto-setup-remote-branch-and-never-again-see-an-error-about-the-missing-upstream/ Thanks @pawelgrzybek ❤️
I am glad it helped you out @nelsonic !
Each time I setup a branch on my localhost and attempt to push it to
GitHub
, I get an error message similar to the following:Need to look this up and get it configured so that it automatically creates the remote branch for me. 💭
Todo