How to squash commits in git after they have been pushed?
I want to squash all commit id's which were pushed before a commit id (git rebase -i )
commit dc5aebdc5dc4a6b3fdcb95700d726de6ef489701
commit 83a1d881a28bcb894709ce538e08b3c0b4dd347c
commit 430269f03c57bdca9364f49ca2861652324a1593
commit 980269f03c57bdca9364f49ca2861652324a1534
For ex, In above log, I want to squash all commits which were pushed before
dc5aebdc5dc4a6b3fdcb95700d726de6ef489701
.
i.e. 83a1d881a28bcb894709ce538e08b3c0b4dd347c
,430269f03c57bdca9364f49ca2861652324a1593
& 980269f03c57bdca9364f49ca2861652324a1534
into one commit.