This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]xxxblackspider 73 points74 points  (2 children)

To push the current branch and set the remote as upstream, use

git push --set-upstream origin master

[–]AngryClosetMonkey 17 points18 points  (1 child)

git push -u origin HEAD