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.
我正在尝试为 mercurial 设置我的用户名和密码。先前问题的答案说在 .hgrc 文件中添加以下行
[ui] username = MY_USER_NAME password = MY_PASSWORD
但是我找不到这个文件,我只在我的主目录中看到 .hg 文件。
在我的 Windows 机器上,我在 c:\users\my_user_name 中有一个mercurial.ini文件
在我的 Mac 上,我的主目录中有一个.hgrc文件。