Subject: Re: feature request: command line option to exclude vcs directories when recursive searching
From: Paul Eggert <[email-masked]>
To: [email-masked]
Date: Sat, 08 Mar 2014 10:56:32 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

That option is already there, e.g.:

grep -r --exclude-dir=.git PATTERN

should work starting with grep 2.12.