Searching Git Commit History

To search your git commit history for a specific comment made, it’s quite straightforward:

 

git log --all --grep='SEARCH TERM'

 

Note: SEARCH TERM is case-sensitive.

Leave a Reply

Your email address will not be published. Required fields are marked *