What paths should I ignore when checking a SharePoint project into Subversion?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/24687

  •  06-12-2019
  •  | 
  •  

سؤال

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.

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top