git grep --untracked

Turned out I use git grep a lot with my VIM (using

=> EasyGrep

plugin). At some point this plugin just stopped to show me all the available results.

Due to lack of explicit git grep usage it was pretty mysterious.

The reason is that git grep doesn't search in untracked files. If you want to search in untracked files too just add --untracked option to the command like this:

git grep --untracked SomethingILookingFor *

=> Official git grep doc

Proxy Information
Original URL
gemini://g.codelearn.me/2019-04-03-git-grep-untracked.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
444.802113 milliseconds
Gemini-to-HTML Time
0.2517 milliseconds

This content has been proxied by September (3851b).