Monday, February 28, 2011

My TortoiseSVN Global ignore pattern

Some files shouldn’t be committed into version control. Usually things generated by the computer (i.e. exe’s, dlls, etc.) and user specific files (i.e. *.suo, *.user, etc.)

Here is the global ignore pattern I use for TortoiseSVN to exclude such files.

<pattern>
*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store _ReSharper.* *.resharper *.suo *.user bin obj
</ pattern>

Hope it helps someone.