Open2025/01/12にコメント追加1【Git】switchGitseiya21302025/01/12に更新git chckoutと異なり、ブランチの切り替え操作に特化したコマンド ブランチ切り替え git switch <ブランチ名> masterブランチに移動 ブランチを新規作成 git switch -c <作成するブランチ> masterブランチからtestブランチ作成 指定したブランチからブランチを新規作成 git switch -c <作成するブランチ> <作成元のブランチ> feat/modelからtest2ブランチ作成 参考 https://git-scm.com/docs/git-switch 返信を追加
seiya21302025/01/12に更新git chckoutと異なり、ブランチの切り替え操作に特化したコマンド ブランチ切り替え git switch <ブランチ名> masterブランチに移動 ブランチを新規作成 git switch -c <作成するブランチ> masterブランチからtestブランチ作成 指定したブランチからブランチを新規作成 git switch -c <作成するブランチ> <作成元のブランチ> feat/modelからtest2ブランチ作成 参考 https://git-scm.com/docs/git-switch 返信を追加