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* 

EDIT 5/10/2011
Here is an update for the settings including the default setting:
*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store thumbs.db *.user *.suo RECYCLER bin obj *.dll *.bak *.log *.~?? *.exe *.tmp *.pdb  _[Rr]e[Ss]harper* *.vs10x *.dbmdl

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? 

Tags: ,

Introduction to TortoiseSVN (Viewlet Animation)

by Jon Davis 11. June 2008 18:58

I was asked to learn how to use ViewletBuilder so that I can create in-house tutorials for some of the web applications we're working on.

Meanwhile, I was also asked to find a way for one of the teams to be able to versionize and manage their web files. These teams do not consist of developers, just graphic artists, editors, and multimedia specialists.

This is why I went down the wiki path, but wiki's in turn introduce a number of support and maintenance issues, not to mention web design limitations, that made me realize it was not the best path. I asked these folks to consider just using Subversion, and since they weren't familiar with Subversion I created my first ViewletBuilder viewlet as a way of hitting two birds with one stone--explain Subversion while discovering how to use ViewletBuilder.

Subversion for normal people, imagine that. ;) Once I shared it, I realized it's kind of a nice little thing to share with the world. Maybe you might find this useful.

Intro to Subversion - TortoiseSVN Basic Workflow

Currently rated 1.7 by 6 people

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

Tags: , , , , ,


Powered by BlogEngine.NET
Theme by Mads Kristensen

About the author

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."

Jon was previously employed as a senior .NET developer at a very well-known Internet services company whom you're more likely than not to have directly done business with. However, this blog and all of have no affiliation with, and are not representative of, his former employer in any way.

Contact Me 

Tag cloud


<<  May 2018  >>

View posts in large calendar