Friday, May 17, 2019

Git: rename a branch


$ git branch -m oldbranch newbranch

If newbranch already exists and you want to force the remove, use option -M.

No comments:

 
Get This <