3 ms·
> The query one seems a lot like "git grep" to me, I am not sure I understand the difference. 1. shows only the most recent matching commit 2. git grep is ess
by masklinn 13y ago
> The query one seems a lot like "git grep" to me, I am not sure I understand the difference.
1. shows only the most recent matching commit
2. git grep is essentially `grep` customised to the working copy (by default), you probably mean git log --grep
3. `:/foo` is actually a general revisions specifier, see third from bottom in section SPECIFYING REVISIONS of gitrevisions(7), so you should be able to use it anywhere you need to specify a revision (not that I can see much use for it outside of log and show at the moment)