2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

GitHub Desktop(ローカル)に残ったブランチを削除する方法

Last updated at Posted at 2019-06-20
$ git branch -d ブランチ名

GitHub上でブランチを消しても、
GitHub Desktopにローカルブランチは残ったまま。
このままでは、気持ち悪いので削除したい。
そんな時は、上のコマンドを叩けば削除できる。
マージしたブランチを一気に消す方法もあるけれど、割愛。

追記
エラー出る時は、"ブランチ名"("で挟む)。

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?