Rename branch

  • #### #Renamed to new_name
$ git branch -m <new\_name>
  • #### #Push and reset
$ git push origin -u <new\_name>
  • #### #Delete remote branch
$ git push origin --delete <old>
Comments