Check-in each project separately?

天涯浪子 提交于 2019-11-29 11:58:50

There are several options:

  1. You can create separate workspaces for each project and only map the directories that belong to said project, that way the changes will not be 'shared'. See this on how to create separate workspaces for each project.
  2. You can also right-click the project and choose the Check-in option from there.
  3. From the pending changes window, right-click any folder or item you don't want to check in (yet) and choose exclude to exclude them from this check-in.
  4. One more option to have the pending changes window auto-include the right files is to go to the source control explorer and right-click the folder containing just the project you want to check in and pick check-in from there.

The reason for checking in all changes as one is to make sure the comitted version in source control is in a consistent, buildable state. Should you want to use a Continuous Integration or even Gated checkin build on the build server component that goes with TFS, you might get into trouble when checking in the projects one by one.

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