Skip to content

Instantly share code, notes, and snippets.

@KillerCodeMonkey
Created February 22, 2016 07:14
Show Gist options
  • Save KillerCodeMonkey/7164a79340fe96020dcb to your computer and use it in GitHub Desktop.
Save KillerCodeMonkey/7164a79340fe96020dcb to your computer and use it in GitHub Desktop.
git rename branch
git push origin origin/OLD_BRANCH:refs/heads/NEW_BRANCH && git push origin :OLD_BRANCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment