云原生手记
Git分支改名命令
云原生手记2018-08-23 10:25:54
1. 如果对于分支不是当前分支,可以使用下面的命令:
git branch -m "原分支名" "新分支名"
2. 如果是当前分支:
git branch -m "新分支名称"