DEV Community

Discussion on: Bring your lost git commits back from the grave.

Collapse
 
abbadev profile image
Abdulla T

Super useful..Glad you fixed your rebase. Why didn't you go with a git merge instead? Also, first time I learn about git rerere (I thought Rihanaa had her own git command 😂)

Collapse
 
afifsohaili profile image
Afif Sohaili

I believe merge would still produce the same result since the merge conflicts would still happen. Plus, I don't like what git merge does to the tree. 😅 I cringe every time I see a merge from master into one branch and later a merge from the branch back into master. 😅