Gitローカルブランチを削除する
事前に削除したいブランチから移動しよう!
ブランチの削除
## ブランチの確認 git branch ## ブランチの削除 git branch -d [ブランチ名]
ブランチの強制削除
マージしてないブランチの削除方法
## マージしてない時のエラー error: Cannot delete the branch 'ブランチ名' which you are currently on. ## 強制削除 git branch -D [ブランチ名]
事前に削除したいブランチから移動しよう!
## ブランチの確認 git branch ## ブランチの削除 git branch -d [ブランチ名]
マージしてないブランチの削除方法
## マージしてない時のエラー error: Cannot delete the branch 'ブランチ名' which you are currently on. ## 強制削除 git branch -D [ブランチ名]