1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Git】ブランチ名を変更する方法

Last updated at Posted at 2024-11-10

以下のコマンドを実行することでブランチ名を変更できます。

git branch -m '古いブランチ名' '新しいブランチ名'

カレントブランチの名称を変更する場合には以下のコマンドで変更できます。

git branch -m '新しいブランチ名'
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?