Automatically add new folders and files to source control

感情迁移 提交于 2019-12-11 14:14:21

问题


We're using ClearCase, integrated with VS2008.

Problem is, adding new files into my own personal view will not be reflected when i push (check in) changes.

I have to manually add all new files/projects/items into source control and then check them in.

Is there any way to automatically be able to get all new items into source control?


回答1:


If your current solution has been added to ClearCase (provided the runtime security level in .NET allows it), then simply adding files within a snapshot view part of Visual Studio project won't version those files:
they will still be considered private, until you "add them to source control".

If you have many new files, you can find them with this answer "How do I determine what files in my ClearCase local view have not yet been added to source control?": depending on your ClearCase version, this will be more reliable than the integrated solution (as described in this IBM technote for CC 7.0.1.1, 7.0.1.2).



来源:https://stackoverflow.com/questions/6088059/automatically-add-new-folders-and-files-to-source-control

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