rebase して squash すればいい 例 % git log [20:52:42] commit afed1fc70e8c890d310505f71569a8c568ecf50a (HEAD -> master) Author: author <author@example.com> Date: Wed Mar 6 20:52:42 2019 +0900 modify first commit commit 809ab76dcc79192a570fc169f1267ab09cf464f2 Author: author <author@example.com> Date: Wed Mar 6 20:52:15 2019 +0900 third commit commit bc9c9b4e7c967152b220c5aa211ea23894fd92b1 Author: author <