Search git commits

One can search through git commits using

git log -S [Keywords]

This will search the diffs. And by using -M flag even file name changes can be searched

 

Leave a Reply

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