Perforce 文件“.perforce”的用途是什么?
Perforce 配置文件 .perforce
的用途是什么?在哪里可以找到显示其内容的示例文件?
Git-p4Usage 引用了这个文件,但我没有这个文件在我的任何工作区或我的主目录中,并且没有在任何其他 Perforce 文档中看到过这个文件。它在 git-p4 上下文之外还有什么用途吗?它适用于 Windows 和 Unix 环境吗?
What is the purpose of Perforce configuration file .perforce
? Where may I find a sample file showing its contents?
Git-p4 Usage refers to this file, but I don't have this file in any of my workspaces nor in my home directory and have not seen this file mentioned in any other Perforce documentation. Does it have any purpose outside of the context of git-p4
? Does it apply to both Windows and Unix environments?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信它指的是 P4CONFIG 文件。这是一个属性文件,当您在配置文件的同一目录或子目录中工作时,可以设置 Perforce 变量。文件的名称并不重要,因为您使用“P4CONFIG”变量设置名称。
如果您有多个客户端,配置文件非常有用,因为您可以让配置文件仅根据当前目录来管理您的环境。
I believe it is referring to a P4CONFIG file. This is a property file that can set Perforce variables when you are working in the same directory or a sub directory of the config file. The name of the file is not important because you set the name using the "P4CONFIG" variable.
The config files are very useful if you have multiple clients because you can let the config files manage your environment for you just based on your current directory.