Page 1 of 1

Excluding GIT files

Posted: Wed May 16, 2012 10:25 pm
by rfossella
Hi,

While using SynchronizeIt I'm trying to exclude my GIT repository folders and files. My filter is set like this: !.git

I've used exclude filters for a long time but cannot seem to ignore these. I'm sure it has to do with the fact that these folders have no "base" name - i.e. "dot" names. See attached snapshot.

Is there a way to properly set up this filter?

Thanks.
Rob

Re: Excluding GIT files

Posted: Thu May 17, 2012 7:12 am
by TonHu
For excluding svn folders I have set a folder-exclusion of *\.svn\, and I'd probably set a similar exclusion for git if I were using Git :wink:

Re: Excluding GIT files

Posted: Thu May 17, 2012 8:56 am
by grigsoft
That's right, you should use exclude folders options, not exclude files, and just ".git" would work.

Re: Excluding GIT files

Posted: Tue May 22, 2012 8:32 am
by rfossella
Many thanks! Adding the exclude filter of *\.git\ did the trick.

Rob