Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git rebase conflict was caused by which commit

Tags:

git

when I do git rebase master I get conflict sometimes. And sometimes it becomes very difficult to track down an issue even with error messages. It would be a real help if I could find out which commit git is trying to reapply and is causing conflict.

How can I find out which commit is causing the conflict?

like image 738
Nick Vanderbilt Avatar asked Nov 06 '22 13:11

Nick Vanderbilt


1 Answers

Look in the conflicting file(s), the lines starting with >>>>>>> show the commit hash which caused the conflict.

like image 124
Bram Schoenmakers Avatar answered Nov 15 '22 05:11

Bram Schoenmakers