开发者

What is the purpose of Perforce file ".perforce"?

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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜