exclude bin folder from Team Explorer Everywhere

北城以北 提交于 2019-12-12 09:17:31

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!