I'm looking at adding a handful of SharePoint projects from a third-party to our source control system, Subversion. However, I'm not exactly sure what ignore patterns should be setup.

Right away a /pkgobj/Release/ directory jumped to my attention, and this thread on Microsoft's boards suggests /pkg/ as well.

So that I don't miss any others, what patterns should I be adding to TortoiseSVN/my source control client of choice so that I don't include unnecessary files when I make these commits?

Current TortoiseSVN global ignore pattern:

*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store bin obj Thumbs.db *.suo *.user *.webinfo *.Publish.xml *.Publish *.cache StyleCop.Cache pkg pkgobj


I would also exclude /bin and /obj. We use Team Foundation Services and these two plus the two you mentioned are the only ones excluded.

  • +1 I should have included my existing ignore pattern in my original question. – James Skemp Dec 5 '11 at 22:34

I also exclude the Solution User Options files (.suo) as they change with navigating the projects on every machine.

  • AS Jim mentioned definitely exclude the .suo file as well as the pkg and pkgobj directories. – Alex Clark Dec 5 '11 at 23:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.