LoginSignup
30
20

More than 5 years have passed since last update.

gitでリモートレポジトリのブランチを持ってくる

Posted at

持ってくるだけの場合

$ git branch new-branch origin/new-branch

持ってきてブランチ移動する

$ git checkout -b new-branch origin/new-branch

参考サイト1

参考サイト2

30
20
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
30
20