TFS exclude a directory - .tfignore not working and it is a very large directory -
i have seen other posts , read them on stackoverflow - how ignore files/directories in tfs avoiding them go central source repository?
however not seem work.
i have folder of root called /fs in directory have following .tfignore
################################################################################ # .tfignore file automatically created microsoft(r) visual studio. # # local items matching filespecs in file not added version # control. file can checked in share exclusions others. # # wildcard characters * , ?. patterns matched recursively unless # pattern prefixed \ character. # # can prepend path pattern make more specific. if do, # wildcard characters not permitted in path portion. # # # character @ beginning of line indicates comment. # # ! prefix negates pattern. can used re-include item after # excluded .tfignore file higher in tree, or team # project collection's global exclusions list. # # / character interpreted \ character on windows platforms. # # examples: # # # excludes files ending in .txt in alpha\beta , subfolders. # alpha\beta\*.txt # # # excludes files ending in .cpp in folder only. # \*.cpp # # # excludes files ending in .cpp in folder , subfolders. # *.cpp # # # if "contoso" folder, contoso , children excluded. # # if file, "contoso" in folder excluded. # \contoso # # # if help.exe excluded higher .tfignore file or team project # # collection global exclusions list, pattern re-includes in # # folder only. # !\help.exe # ################################################################################ \brand \co \cover \coverbanner \dept \dept-cats \lib \products however, tfs keeps trying add these directories. have @ root directory .tfignore
/fs
i need /fs out of tfs. 15gb workth of images not belong in source control, have multiple areas these images backed , resource intense creating branches.
do need delete /fs tfs cmd prompt? great. frustrated , stuck.
i assume .tfignore works same local , server workspaces, so:
yes, have delete \fs source control, doing team explorer should suffice. add .tfignore in \fss parent directory. ensure \fs folder not sit in source control , copied on when make new branch.
Comments
Post a Comment