Guest User

Untitled

a guest
Jul 28th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. git branch -m old_branch new_branch # Rename branch locally
  2. git push origin :old_branch # Delete the old branch
  3. git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
Add Comment
Please, Sign In to add comment