Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # From master
- ## Rename local branch master to v1.1
- git branch -m v1.1
- ## Delete old master
- git push origin :master v1.1
- ## Reset the upstream branch for the v1.1 local branch
- git push origin -u v1.1
- # From next
- ## Rename local branch next to master
- git branch -m master
- ## Delete old next
- git push origin :next master
- ## Reset the upstream branch for the master local branch
- git push origin -u master
Add Comment
Please, Sign In to add comment