|
From: | Federico Bruni |
Subject: | Re: Case of 'c' in partcombine |
Date: | Thu, 25 May 2017 17:54:17 +0200 |
Is there any way to use git grep to search for instances of a string, but leave out all instances from some specified directory? I ask because there are an insane amount of instances of the string in Documentation, and it’s clouding my ability to find all instances in the source code.
git grep -i combine -- './*' ':!./Documentation/*' you need git >= 1.9.0
[Prev in Thread] | Current Thread | [Next in Thread] |