When you use the
--grep=<pattern> option with
git log, it performs a case-sensitive matching by default. If you wish to perform a case-insensitive match instead, you can simply use the
-i flag (or
--regexp-ignore-case), for example, like so:
git log --grep="Updated" -i
git log --grep="Updated" --regexp-ignore-case
Hope you found this post useful. It was published . Please show your love and support by sharing this post.