Skip to content

Instantly share code, notes, and snippets.

@snadjafi
Created February 24, 2014 19:33
Show Gist options
  • Select an option

  • Save snadjafi/9195319 to your computer and use it in GitHub Desktop.

Select an option

Save snadjafi/9195319 to your computer and use it in GitHub Desktop.
Git add new branch to remove
Add new Branch to remote
Git push -u origin <branch name>
Push branch to remote repository
Origin is the name of the repository
Git push origin localBranchName:newBranchName
Add new branch with new name from local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment