Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我获得文件夹的最新版本时,它会获取该文件夹中的所有文件。如何获取除扩展名为“.ztl”的文件之外的所有文件?
将此扩展添加到 p4ignore.ini 会阻止它们的提交,但不会阻止获取最新的。
将它们从您的客户视图中排除。例如:
//depot/... //client/... -//depot/....ztl //client/....ztl
这些文件现在根本不再被视为您的工作空间的一部分——匹配该仓库路径的文件将不会被同步,并且您添加到与该路径匹配的工作空间的文件将不会被添加。