Skip to content

Instantly share code, notes, and snippets.

@shyamkkhadka
Created August 19, 2010 03:40
Show Gist options
  • Save shyamkkhadka/536961 to your computer and use it in GitHub Desktop.
Save shyamkkhadka/536961 to your computer and use it in GitHub Desktop.
$ cd myproject
$ git checkout myBranch
$ git push -u origin myBranch
# In some cases -u showed as invalid argument, so use this
$ git push origin <local name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment