Why do I need to do `–set-upstream` all the time?
A shortcut, which doesn’t depend on remembering the syntax for git branch –set-upstream 1 is to do: git push -u origin my_branch … the first time that you push that branch. Or, to push to the current branch from a branch of the same name (handy for an alias): git push -u origin HEAD You … Read more