Guest User

Untitled

a guest
Apr 21st, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. # From master
  2.  
  3. ## Rename local branch master to v1.1
  4. git branch -m v1.1
  5. ## Delete old master
  6. git push origin :master v1.1
  7. ## Reset the upstream branch for the v1.1 local branch
  8. git push origin -u v1.1
  9.  
  10. # From next
  11.  
  12. ## Rename local branch next to master
  13. git branch -m master
  14. ## Delete old next
  15. git push origin :next master
  16. ## Reset the upstream branch for the master local branch
  17. git push origin -u master
Add Comment
Please, Sign In to add comment