0
0

More than 1 year has passed since last update.

ローカルのブランチを削除する

Posted at

ローカルブランチ削除コマンド

【注意】
削除対象のブランチにいると、ブランチ削除コマンドを実行できないので、一旦他のブランチへ移動してから実行して下さい。

  • 削除対象のブランチがリモートにプッシュ及び、マージ済みである場合
git branch -d localBranchName
  • 削除対象のブランチがリモートにプッシュ及び、マージ済みでは無く、強制的に削除したい場合
git branch -D localBranchName
0
0
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
0
0