Excluding GIT files

Do you have anything to share with other users? Your opinions about our programs, suggestions for future products - everything goes here.
rfossella
Posts: 10
Joined: Fri Mar 11, 2011 6:27 pm

Excluding GIT files

Postby rfossella » Wed May 16, 2012 10:25 pm

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
Attachments
gitFiles.jpg
gitFiles.jpg (90.55 KiB) Viewed 18145 times

TonHu
Posts: 100
Joined: Mon Sep 29, 2003 10:48 am
Location: Netherlands

Re: Excluding GIT files

Postby TonHu » Thu May 17, 2012 7:12 am

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:

grigsoft
Site Admin
Posts: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Re: Excluding GIT files

Postby grigsoft » Thu May 17, 2012 8:56 am

That's right, you should use exclude folders options, not exclude files, and just ".git" would work.

rfossella
Posts: 10
Joined: Fri Mar 11, 2011 6:27 pm

Re: Excluding GIT files

Postby rfossella » Tue May 22, 2012 8:32 am

Many thanks! Adding the exclude filter of *\.git\ did the trick.

Rob


Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 1 guest