Git: search commits by message text

Git

If you need to find some commits by commit message text you could use the command below:

git log --all --grep='message text to search for'