2016-09-26 67 views

回答

0

您可以通过运行fstat command来检查文件是否标记为添加。如果命令输出包含字符串"action add",则表示该文件已被标记为添加。

1

如果您使用-n选项,它将预览添加操作,告诉您将添加哪些文件,但实际上不添加文件。

Source

p4 add -n testfile 
1

我个人使用下面两个命令:

p4 diff -sa // to show list of all opened files 

p4 diff -se // to show list of all files that are with changes but not opened 
相关问题