gpt4 book ai didi

windows - 为什么我没有 .hgrc 文件?

转载 作者:可可西里 更新时间:2023-11-01 11:26:01 26 4
gpt4 key购买 nike

我试图在 .hgrc 文件中插入包含我的用户名和密码的 mercurial_keyring 文件,但它不存在于我的 Windows 用户目录中。我已经安装了 tortoise hg,甚至在命令提示符下检查它是否安装正确,但我仍然没有 .hgrc 文件夹。

谁能告诉我是什么原因造成的?

谢谢

最佳答案

Because它是 %USERPROFILE%\mercurial.ini

Mercurial reads configuration data from several files, if they exist. These files do not exist by default and you will have to create the appropriate configuration files yourself:

Local configuration is put into the per-repository /.hg/hgrc file.

Global configuration like the username setting is typically put into:

%USERPROFILE%\mercurial.ini (on Windows)

关于windows - 为什么我没有 .hgrc 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36070789/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com