Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # switch to branch which needs to be renamed
- git checkout <old_name>
- git branch -m <new_name>
- git push origin :<old_name>
- git push origin <new_name>:refs/heads/<new_name>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement