1

For example searching for file does right thing: file:.git However searching for directory returns nothing: directory:.git

amuliar
  • 143

1 Answers1

2

Use folder: instead.

For example folder: .git will search for all directories that have .git in them.

It will still find files inside them.

If you really want folders only, use kind:folders ".git"

Notice how folder: gets blue, indicating that it's a filter that will work.

This is tested to work in Windows 10. Given that you did not mention what OS you are using, I will assume you use the latest at this time of writing, which is Windows 10, but it probably works in earlier versions too.

LPChip
  • 66,193