如何通过cleartool命令将文件夹中的所有文件添加到源代码管理中? [英] How to add all the files in a folder to source control via cleartool command?

查看:91
本文介绍了如何通过cleartool命令将文件夹中的所有文件添加到源代码管理中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文件夹,其中包含许多文件和子文件夹,通过UI将其添加到源代码管理中会占用大量时间。

I am having a folder where lot of files and subfolders , adding it to source control via UI is consuming much time.

如何添加所有文件(包括

How to add all the files (including files inside subfolder) to source control using cleartool?

(我正在使用clearcase UCM)

(I am using clearcase UCM)

推荐答案

如何使用ClearCase递归添加到源代码控制...? clearfsimport 是解决方法。

但是,在您看来, clearfsimport 将采用源导入,因此:

However, clearfsimport will take a source an import it in your view, so:


  • 最好将源保留在视图之外(以避免在ClearCase尝试将源文件添加到同一目录的目标中时造成混淆)

  • 您必须首先清除源目录(因为 clearfsimport 命令将导入... 所有您提到的根目录下的文件)

  • it is best to keep the source outside your view (to avoid confusion when ClearCase tries to add the source file in the destination which is the same directory)
  • you must "clean out" the source directories first (because the clearfsimport command will import... all the files under the root directory you mention)

请参见 是否在ClearCase中创建新的子目录结构?:例如,您可以预览首先导入的结果。

See "Creating a new subdirectory structure in ClearCase?" as an example: you can preview the result of an import first.

这篇关于如何通过cleartool命令将文件夹中的所有文件添加到源代码管理中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆