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 » Thu Dec 20, 2018 12:32 pm

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

If yes, how to?

Thank you

therube
Posts: 2270
Joined: Thu Sep 03, 2009 6:48 pm

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

Post by therube » Thu Dec 20, 2018 1:14 pm

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 » Thu Dec 20, 2018 1:54 pm

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: 1286
Joined: Wed May 24, 2017 9:22 pm

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

Post by NotNull » Thu Dec 20, 2018 3:23 pm

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 » Thu Dec 20, 2018 3:47 pm

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 » Thu Dec 20, 2018 4:24 pm

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: 130
Joined: Sat Oct 27, 2018 11:33 am

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

Post by vanisk » Thu Dec 20, 2018 5:28 pm

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 » Thu Dec 20, 2018 7:56 pm

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