[英]How to exclude filetypes when getting latest in Perforce
When I get latest revision on a folder it gets all files in that folder. 当我获得某个文件夹的最新修订时,它将获取该文件夹中的所有文件。 How can I get all files except files with the extension ".ztl" ?
我如何获得除扩展名“ .ztl”以外的所有文件?
Adding this extension to the p4ignore.ini blocks the submit of them but not the get latest. 将此扩展添加到p4ignore.ini会阻止提交它们,但不会获取最新消息。
Exclude them from your client view. 从客户视图中排除它们。 Eg:
例如:
//depot/... //client/...
-//depot/....ztl //client/....ztl
Those files are now no longer considered part of your workspace at all -- files matching that depot path will not be synced, and files you add to your workspace matching that path will not be added. 这些文件现在完全不再视为工作空间的一部分-与该仓库路径匹配的文件将不会被同步,并且您添加到与该路径匹配的工作空间中的文件也不会被同步。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.