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
A common workflow with the very popular workflow of topic branches is to create a branch, commit, then push it upstream. This invariably devolves to calling git push, receiving the hint
fatal: The current branch pasky-auth-token has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin pasky-auth-token
and copy-pasting that to actually do the first push of the topic branch.
Ideally, just calling git push -u should do the same thing as this copy-paste (the hint is always correct in typical situations).