How to esclude all git folders from the index?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
aborruso
Posts: 10
Joined: Mon Jun 01, 2009 8:34 pm

How to esclude all git folders from the index?

Post by aborruso »

Hi,
is it possible to remove from the index all the git folders?

If yes, how to?

Thank you
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: How to esclude all git folders from the index?

Post by therube »

What does a git folder look like?

Anyhow, maybe something can be working out with, Tools | Options | Indexes -> Exclude.
aborruso
Posts: 10
Joined: Mon Jun 01, 2009 8:34 pm

Re: How to esclude all git folders from the index?

Post by aborruso »

What does a git folder look like?
It's "folder: .git"

Code: Select all

Anyhow, maybe something can be working out with, Tools | Options | Indexes -> Exclude.
I know of "Tools | Options | Indexes -> Exclude", but how to add this kind of folder

Thank you
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: How to esclude all git folders from the index?

Post by NotNull »

aborruso wrote: Thu Dec 20, 2018 1:54 pm I know of "Tools | Options | Indexes -> Exclude", but how to add this kind of folder
There's a Add Filter button. You can define
.git
as a filter.
aborruso
Posts: 10
Joined: Mon Jun 01, 2009 8:34 pm

Re: How to esclude all git folders from the index?

Post by aborruso »

Thank you very much
aborruso
Posts: 10
Joined: Mon Jun 01, 2009 8:34 pm

Re: How to esclude all git folders from the index?

Post by aborruso »

NotNull wrote: Thu Dec 20, 2018 3:23 pm There's a Add Filter button. You can define
.git
as a filter.
I have inserted regex:"^.git$", but it does not work
vanisk
Posts: 152
Joined: Sat Oct 27, 2018 11:33 am

Re: How to esclude all git folders from the index?

Post by vanisk »

Tools->Options->Exclude->Add Filter
and type
.git

[Edit: I tried your regex in filter and it still works for me]
I Added: regex:^.git$
aborruso
Posts: 10
Joined: Mon Jun 01, 2009 8:34 pm

Re: How to esclude all git folders from the index?

Post by aborruso »

vanisk wrote: Thu Dec 20, 2018 5:28 pm [Edit: I tried your regex in filter and it still works for me]
I Added: regex:^.git$
It works, but it should also work with quotes regex:"^.git$"

Thank you
Post Reply