Finding removed code in git
If you need to find out what commit a word/phrase was removed, you may try this:
git log --pretty=oneline -S'my_method_name'
This command can be used to find any piece of code, removed or not.
If you need to find out what commit a word/phrase was removed, you may try this:
git log --pretty=oneline -S'my_method_name'
This command can be used to find any piece of code, removed or not.