Reputation: 6526
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"
Upvotes: 1
Views: 2084
Reputation: 1848
You can use git log --grep "BUG-1024"
git log --grep "BUG-1024"
Upvotes: 4