git rebase
#Gitサブコマンド
Git squashで複数のコミットを1つでまとめる
Gitの複数コミットをrebaseとsquashでまとめる方法
rebase -i でコミットをまとめる
5. rebase -i でコミットをまとめる