How do I can get in which commit did a change happen?
I have 67 commits in a pull request. There’s a mistake in the final diff with code that should be there and is being removed. How do I solve such thing? How do I know in which commit is that piece of code that is changing the final merge diff?
If the code is already commited you can use
git blameto find what happened 6.5 Git Tools – track down a bug in your code and want to know when it was introduced and why.If the code is on Github you can simply use the Blame button when looking at the relevant file. I use this method a lot for looking at git & msysgit itself (to know who’s toes I might be stepping on ;-).