github のプル リクエストでコミットをスカッシュするように依頼されました。私が走るとき
git rebase -i HEAD~5
このように見えます
pick bcbb30d My commit comment
pick 8564706 Other persons commit comment
pick c99bdd2 Other persons commit comment
pick 07bb5b9 Other persons commit comment
pick 2bcff6f Other persons commit comment
pick 77a5076 My commit comment
私は自分のコミットのみをスカッシュしたいので、私のコミットを 1 つを除いてすべてに対して「スカッシュ」し (「ピック」のままにして)、他の人のコミットも「ピック」のままにしておいてもよろしいですか? これは私のコミットをつぶすだけですか?