How to search through your git commit messages Posted on
If you are looking to find a git commit by its message, use the following command:
git log -S"facebook"
This will return all commits with “facebook” in the message.
If you are looking to find a git commit by its message, use the following command:
git log -S"facebook"
This will return all commits with “facebook” in the message.