<p>You can use git log to search when a given string matches an entry in there and also see from which branch/tag they matched and even see the patch inline by using <code>git log -S 'string-for-match' --source --all -p</code>. <code>-S</code> is used to provide the search string, <code>--source --all</code> will properly format ref names to their respective source branch/tag and <code>-p</code> will allow you to see the patch inline. The last flag can be omitted if one just wants to see the list of commits and could go through each one individually by grabbing their hash and using a <code>git show</code> command afterwards. See for more</p>
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.