SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 6 down vote accepted

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.

share|improve this answer
+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.

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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