LoginSignup
81
78

More than 5 years have passed since last update.

[git][SourceTree]ローカルに残ってしまっているリモートブランチを一括削除

Last updated at Posted at 2014-05-26

SourceTree と github を使っていると, 他の人が push したブランチや
merge 済みのブランチがガンガン残っちゃいます.

ローカルではそんなの不要なので削除する方法をメモっておきます.

  • SourceTree のツールバー->リポジトリ->フェッチ(or Shift+Command+F)
  • リモートで削除された追跡ブランチは取り除くにチェック
  • OKボタンをクリック

以上です.

まぁやってることは cmd で

$ git fetch --prune

たたいてるだけなんですけどね♪

81
78
2

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
81
78