You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
say you have a branch named #42-my-lovely-branch and would like to push it but forgot to set the upstream branch. You get the following error message:
fatal: The current branch #42-my-lovely-branch has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin #42-my-lovely-branch
This cannot be copy & paste as #42-my-lovely-branch should be escaped with a backslash as follows: