LoginSignup
0
0

More than 3 years have passed since last update.

git checkout -bについて

Last updated at Posted at 2021-03-05

git checkoutのオプション-bについて忘れないように。

git checkout -b

ブランチ作成とブランチに移動を一つにまとめたコマンド

git checkout -b test 

つまり


git branch test

git checkout test

と等価

ブランチ系のコマンドを一応整理

リポジトリ内のブランチの確認

git branch

ブランチ作成

git branch {ブランチ名}

ブランチ削除

git branch -D {ブランチ名}

ブランチに移動

git checkout {ブランチ名}
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