Reputation: 414
For example, if in the first commit I've introduced a line 'example-line' to file 'f.txt', and in the third commit I've deleted that line from 'f.txt', and now I'm in the fifth commit. How can I tell in Visual Studio code (or any other simple way) that 'example-line' was deleted in the third commit?
Upvotes: 1
Views: 80
Reputation: 21938
You could find the deletion commit with
git log -1 -S "example-line"
(see -S
doc here)
Upvotes: 3