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.
嗨朋友们如何使用 MacOSx 在 bitbucket 中提交和推送项目
$ hg commit abort: no username supplied
在 windows hg 客户端中,它会在弹出窗口中询问用户名和密码。这在 macosx 上是如何发生的?我确实向终端提供了命令,但没有运气。
vim .hg/.hgrc
然后输入
[ui] username = YOUR_NAME <YOUR_MAIL>
给它。然后回到主目录并推送它。
您可以使用.hgrc来配置您的本地 Mercurial 客户端。此处描述了为提交设置用户名。
.hgrc