Well, I have a big problem. My developer mate didn't fill in the commit messages in the right way. So I don't know which is the right commit.
However! I know that it contains a special text, somewhere in the project. (I do not know the exactly file - although I have a suspect folder (src/) ).
This project has a lot of commit (just without commit message).
How to search string in every file that has ever existed?
git log -S"something"(or evengit log -S"something" -- path/to/suspect/folderto only search in a specific folder) but there must be a duplicate around here.[git] search files for stringleads to numerous results, the first one being the suggested duplicate (which itself is closed as a duplicate, but I find the first answer to this one clearer). Searching StackOverflow can't be that difficult?