I am trying to use git log and grep together with pipe. However, it doesn’t seem to work. I am grepping for the bug-id from the git log. Here is what I am doing.
$git log | grep -ir "BUG-1024"
Advertisement
Answer
You can use git log --grep "BUG-1024"