How do I exclude a specific files from TFS 2012 source control?
It is way easier that in previous versions of TFS, simply create a .tfignore file.
For example:
######################################
# Ignore .cpp files in the ProjA sub-folder and all its subfolders
ProjA\*.cpp
#
# Ignore .txt files in this folder
\*.txt
#
# Ignore .xml files in this folder and all its sub-folders
*.xml
#
# Ignore all files in the Temp sub-folder
\Temp
#
# Do not ignore .dll files in this folder nor in any of its sub-folders
!*.dll
Written by Mike Olsen
Related protips
2 Responses
what about an ignore for all /packages/ directories for the entire project collection?
over 1 year ago
·
how about doing the following:
packages/*
!packages/repositories.config
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tfs
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#