LoginSignup
0
0

More than 5 years have passed since last update.

削除されたリモートリポジトリのブランチをローカルに反映させる

Last updated at Posted at 2016-09-10

リモートリポジトリにあるブランチは削除されたのに、ローカルにはリモートリポジトリのブランチがある状態。

ブランチを確認

git remote prune --dry-run origin

削除しても問題なければ以下を実行すると、リモートのリポジトリのブランチとローカルのリモートリポジトリのブランチが同期する

git remote prune origin

参考:http://te2u.hatenablog.jp/entry/2014/09/01/223852

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