问题描述
我们正在使用与VS2008集成的ClearCase。
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?
推荐答案
如果您的(前提是),然后只需添加Visual Studio项目的快照视图部分中的文件不会对这些文件进行版本控制:
,在您将它们添加到源代码管理之前,它们仍将被视为私有文件。
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".
如果有许多新文件,则您可以通过以下答案找到它们: :根据您的ClearCase版本,这将比集成解决方案更可靠(因为 .1.2)。
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).
这篇关于自动将新文件夹和文件添加到源代码管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!