Open
Description
Squash the commit contains the multiple comments, then the multiple commits become to be a single comment.
kamo@kamobookPro: git log
commit 20949a9eff32eb42449f062b81bbc355a97aa97f (HEAD -> master)
Author: Tatsuya Kamohara <[email protected]>
Date: Fri Nov 16 21:38:26 2018 +0900
This is a dog
commit 8cf64b17e5e028c574eccceec5bf7459d99a8841
Author: Tatsuya Kamohara <[email protected]>
Date: Fri Nov 16 21:37:46 2018 +0900
hogehoge
hogeho3efegegege
pogegegeg
commit 983b3b08d8cd4cf5e812d426ec15d45005d3e70e
Author: Tatsuya Kamohara <[email protected]>
Date: Fri Nov 16 21:37:30 2018 +0900
first commit
~/work/testgit master*
kamo@kamobookPro: qs -n 0..1
INFO[0000] [ 2] pickup -> pickup 983b3b0 first commit
INFO[0000] [ 1] pickup -> pickup 8cf64b1 hogehoge hogeho3efegegege pogegegeg
INFO[0000] [ 0] pickup -> squash 20949a9 This is a dog
Do you squash the above commits?(y/n)
y
[detached HEAD 8d9a9c6] hogehoge hogeho3efegegege pogegegeg
Date: Fri Nov 16 21:37:46 2018 +0900
1 file changed, 1 insertion(+)
Successfully rebased and updated refs/heads/master.
~/work/testgit master*
kamo@kamobookPro: git log
commit 8d9a9c6297d5ad095526bd477514a73cd381cd4f (HEAD -> master)
Author: Tatsuya Kamohara <[email protected]>
Date: Fri Nov 16 21:37:46 2018 +0900
hogehoge hogeho3efegegege pogegegeg
commit 983b3b08d8cd4cf5e812d426ec15d45005d3e70e
Author: Tatsuya Kamohara <[email protected]>
Date: Fri Nov 16 21:37:30 2018 +0900
first commit