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.
我们有多个非常大的 perforce 存储库,其中包含许多与源代码混合的二进制文件。是否可以配置客户端规范以使某些文件扩展名(例如 zip、jar、war 等)永远不会同步到本地副本?
我们定期同步以在源代码上生成指标,为此,二进制文件只是妨碍了。
在您的客户端规范中,使用带有减号的“排除”映射,如下所示:
View: //depot/project/... //client-name/project/... -//depot/project/.../*.zip //client-name/project/.../*.zip -//depot/project/.../*.jar //client-name/project/.../*.jar -//depot/project/.../*.war //client-name/project/.../*.war