我正在创建一些与Perforce交互的构建脚本,我想标记删除一些文件.使用命令行的P4语法究竟是什么?
p4 delete filename
(p4输出帮助删除)
delete - 打开现有文件以从库中删除它
p4删除[-c changelist#] [-n]文件...
Opens a file that currently exists in the depot for deletion. If the file is present on the client it is removed. If a pending changelist number is given with the -c flag the opened file is associated with that changelist, otherwise it is associated with the 'default' pending changelist. Files that are deleted generally do not appear on the have list. The -n flag displays what would be opened for delete without actually changing any files or metadata.
教一个人钓鱼:
p4 help
- 获得通用命令语法
p4 help commands
- 列出命令
p4 help
- 为特定命令提供详细帮助