ブランチ作成、作成ブランチへの切り替え
$ git checkout -b <branch>
ローカルの不要ブランチ削除
$ git branch -D <branch>
名前変更
$ git branch -m change_branch_name
ブランチの統合
# 変更マージしたコミットが残る $ git merge <branch> # masterへbranchにおける修正をつなげる。コミット履歴が綺麗になる $ git checkout <branch> $ git rebase master First, rewinding head to replay your work on top of it... Applying: added staged command