Git ブランチの名前を変更する 2014-06-14 Pistolfly コメントする ツイート ブランチの名前を変更するには、-m オプションを使う。 oldbranchをnewbranchに変更する $ git branch -m <oldbranch> <newbranch> 現在のブランチをnewbranchに変更する $ git branch -m <newbranch> newbranchがすでに存在している場合に上書きするには、-m の代わりに -M オプションを使う。 関連