LoginSignup
0

More than 5 years have passed since last update.

github上にあるリモートのブランチを手元に持ってくる方法

Last updated at Posted at 2018-03-06

github上にあるリモートのブランチを手元に持ってくる。
(リモートのブランチ名で新しいブランチを作成し、そのブランチにチェックアウトするコマンド。masterにcheckoutして行う。)

毎回調べているのでめも。

$ git checkout -b branch_name origin/branch_name

参照

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