LoginSignup
8
7

More than 5 years have passed since last update.

remote branchを綺麗にする

Posted at

github上でbranchを削除すると

git branch -aしても消したはずのbranchは残っている(;´∀`)

git push origin :hoge などしてももちろん消えるはずがない。

そこで、以下のコマンドを実行すると

git-remote
git remote prune origin

消したbranchがいなくなります!

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