SVN ignore pattern

by Jon Davis 11. November 2008 13:38

This isn't news, I'm posting for my own reference as I move from computer to computer frequently as the months go by.

Here's how I set up my projects to not auto-include local or junk files when adding to SVN.

With TortoiseSVN installed, in Windows Explorer (not Internet Explorer) right-click on any directory and choose TortoiseSVN -> Settings. Then under General -> Global ignore pattern, add:

thumbs.db *.user *.suo RECYCLER bin obj *.dll *.bak *.log *.~?? *.exe *.tmp *.pdb  _[Rr]e[Ss]harper* 

The equivalent setting in SVN is svn:ignore. 

Surprisingly, a lot of people forget thumbs.db, which is the Windows Explorer thumbnail metadata file that's hidden by default. It's amazing how annoying that beast is in a shared SVN repository.

Anybody else have other filters that should be added? 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading




 

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About the author

Jon Davis Jon Davis (aka "stimpy77") has been a programmer, developer, and consultant for web and Windows software solutions professionally since 1997, with experience ranging from OS and hardware support to DHTML programming to IIS/ASP web apps to Java network programming to Visual Basic applications to C# desktop apps.
 
Software in all forms is also his sole hobby, whether playing PC games or tinkering with programming them. "I was playing Defender on the Commodore 64," he reminisces, "when I decided at the age of 12 or so that I want to be a computer programmer when I grow up." 

Amazon Collection

Most Recent of Many Library Investments

Tag cloud

Calendar

<<  January 2009  >>
MoTuWeThFrSaSu
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar