重命名branch

git branch -m [oldname] [newname]

原文地址:https://www.cnblogs.com/argenbarbie/p/7512111.html