How do I rename a local Git branch?

后端 未结 30 1158
轻奢々
轻奢々 2020-11-22 11:48

I don\'t want to rename a remote branch, as described in Rename master branch for both local and remote Git repositories.

How can I rename a local branch wh

30条回答
  •  伪装坚强ぢ
    2020-11-22 12:01

    If you are willing to use SourceTree (which I strongly recommend), you can right click your branch and chose 'Rename'.

提交回复
热议问题