Home > Developer > Subversion Global Ignore List

Subversion Global Ignore List

I’ve been using TortoiseSVN as my Subversion client for a while now (and TortoiseCVS for CVS) but one thing I love about the client is the global ignore filtering. Having to install TortoiseSVN on a new box today I figured I’d post this for reference, its been tweaked over the years but it covers everything I need to ignore.

*.resharperoptions Web_Data log */[Bb]in [Bb]in */obj obj */[Rr]elease */[Dd]ebug *.user *.suo *.resharper */_ReSharper.* _ReSharper.* *.bak *.dll *.pdb. *.class *.exe *.old *.scc *.vspscc *.bak *.vsp *.ncb *.aps */.int */_UpgradeReport* UpgradeLog*.XML
Updated – 16/07/2008
Thanks to my good buddy Edwin Vermeer to include the TestResults Pruning and Setup Projects output folders….
*.resharperoptions Web_Data log */[Bb]in [Bb]in */obj obj */TestResults
TestResults */[Rr]elease [Rr]elease */[Dd]ebug [Dd]ebug *.user *.suo
*.resharper */_ReSharper.* _ReSharper.* *.bak *.dll *.pdb. *.class *.exe
*.old *.scc *.vspscc *.bak *.vsp *.ncb *.aps */.int */_UpgradeReport*

Set the global options by right clicking on any folder, goto Settings in the TortoiseSVN context menu and under the General settings pane enter the above into the ‘Global ignore pattern:‘ textbox.

{lang: 'en-GB'}
  1. July 16th, 2008 at 00:11 | #1

    Nice, I used your string but added the TestResults folder. That is where unit test result will go to when you use VS team system. I also added the [Dd]ebug and [Rr]elease strings becouse I noticed that the */[Dd]ebug and */[Rr]elease are not working for setup projects (those do not have a bin folder).

  2. D-Man
    September 6th, 2008 at 21:57 | #2

    I love it when I find snake oil like this!

  1. No trackbacks yet.