LoginSignup
0
0

More than 3 years have passed since last update.

【Git】新しいブランチを作成する。

Last updated at Posted at 2020-06-03

メモとして残します。

■やり方

0.作成前にカレントブランチを確認

git branch --contains=HEAD

注)分岐させたい場所にいなかったら、ブランチまたはコミットレベルで移動する。

1.ローカルにブランチ作成

git branch <作成するブランチ名>

2.リモートに作成したブランチを反映

git push -u origin <作成したブランチ名>
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