LoginSignup
61

More than 5 years have passed since last update.

全ブランチをリモートリポジトリからpullする

Last updated at Posted at 2015-08-09

以下3つのコマンドでOK

$ for remote in `git branch -r`; do git branch --track ${remote#origin/} $remote; done
$ git fetch --all
$ git pull --all

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
61