Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I configure the TortoiseSVN 'Global ignore pattern' properly?

I would like TortoiseSVN (1.5.3) to ignore certain folders, their contents and certain other files wherever they might appear in my directory hierarchy but I cannot get the global ignore string right.

Whatever I do, it either adds to much or ignores too much

What is the correct 'Global ignore pattern' to ignore....

Folders : bin obj release compile  Files   : *.bak *.user *.suo  

Update: To help clarify... yes I am using this on windows.

like image 416
Rory Becker Avatar asked Oct 08 '08 12:10

Rory Becker


People also ask

How do I set property to ignore in svn?

Use the following command to create a list not under version control files. Then edit the file to leave just the files you want actually to ignore. Then use this one to ignore the files listed in the file: svn propset svn:ignore -F ignoring.

How do I ignore bin and obj folder in svn?

To set your global ignore pattern (with TortoiseSVN) right click Windows Explorer –> TortoiseSVN –> Settings. Once you click on settings enter your global ignore pattern. I'm blocking everything in my bin folder, obj folder, anything that may have been named *.


1 Answers

Currently I have the following in my Global Ignore Pattern:

bin obj CVS .cvsignore *.user *.suo Debug Release *.pdb test.* Thumbs.db 

Works really well to ignore several hidden or temp files/folders....

So for your specific requirements:

  • Folders: bin obj release compile
  • Files: *.bak *.user *.suo

I would use:

bin obj release compile *.bak *.user *.suo 
like image 81
PersistenceOfVision Avatar answered Nov 05 '22 12:11

PersistenceOfVision