git branch
注意ブランチ操作
git branch <name>
ブランチの一覧/作成/削除を行う。
実行例
git branch -aリモート含め一覧
書式
git branch [name] [-d name]
実行前の注意
-Dは未マージでも強制削除。
関連コマンド
- git switch / checkoutブランチ切替
- git mergeマージ
注意ブランチ操作
git branch <name>
ブランチの一覧/作成/削除を行う。
git branch -aリモート含め一覧git branch [name] [-d name]
-Dは未マージでも強制削除。