Re:Git undo: We can do better
by lmm on Tuesday June 22, 2021 @05:09AM
(#27589511)
> And if I create a new branch locally, why must I specify what name I'd use for it on the remote? Why would I like an other name I wonder? It's fantastic that it can do this, but the default should be the branch name I'm using and that's that.
You can fix this by doing `git config --global push.default current`.
You can fix this by doing `git config --global push.default current`.