问题
How can I exclude the bin
folder from Check in and Check Out from TFS version control in the TFS plug-in for Eclipse?
回答1:
The bin folder should already be ignored by TFS unless everywhere is configured differently. Do possibly mean that the bin folder is already checked in and you don't want to manipulate it any more? If that is the case simply delete the bin from tfs and it will stop prompting you for check out/check in. Bin folders typically are not under source control
回答2:
You can use a .tpignore file to ignore files. The easiest way to add the bin
directory to your .tpignore
is to simply right click on the bin
directory in Package Explorer and select the "Ignore" option in the Team menu.
回答3:
I had the same problem, I added the following to the .tfignore file
/bin/
/bin/.*
/bin/classes/*
I had to include the classes directory explicitly because it continued to appear in the pending changes.
来源:https://stackoverflow.com/questions/14434999/exclude-bin-folder-from-team-explorer-everywhere