1
0

More than 3 years have passed since last update.

【自分用】Git branchのコマンド

Posted at

・branchの作成
$ git branch feature/(機能やクラス名)

・現在のbranchの確認
$ git branch

・branchの切り替え
$ git switch (branch名)

・branchの作成と切り替えを同時に行う場合
$ git switch -c feature/(機能やクラス名)

*メモ
・$ git branchで今どこのブランチを操作しているか常に確認する

1
0
1

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
1
0