yoy.be "Why-o-Why"

Global ignore pattern

2007-03-02 23:34  i1128  coding  [permalink]

By default, TurtoiseSVN doesn't have anything filled in in the "Global ignore pattern" field in the settings. Depending on which language or platform you code for, this setting has a great influence on the number of files that may exist in the source directories, but generally only clutter the commit list as unversioned files. Add file masks (generally *.extension masks) of files you're pretty sure about you'll never want to commit to the repository (e.g. files your development environment uses to store personal data and preferences).

Masks are bold, followed by a short description. Feel free to add any if you use other than these:

*.$$$ Delphi temporary file, generally deleted when done.
*.dsk Delphi workspace and personal settings
*.dcu Delphi compiled unit.
*.~* Delphi backup files
*.scc Visual Source Safe repository information 
*.log
Log files
*.ddp Delphi diagrams (though since Delphi 2006 the internal format is much more repository-friendly)
*.suo Visual Studio workspace and personal settings
*.db (or Thumb.db, though apparently TurtoiseSVN has trouble seeing this as a mask) Windows Explorer's thumbnail storage
*.lnk Windows Explorer shortcuts (supprised that you haven't seen the extension of a shotcut even with 'hide extensions' off? read about NeverShowExt)
*.chi Windows Help index file (generated the first time you open a *.chm file)
*.user Borland Developer Studio workspace and personal settings


twitter reddit linkedin facebook