在Intellij Idea中使用hg4idea初始化Mercurial Repository
我创建了一个项目,希望将其推送到远程存储库。
当我在项目视图中右键单击该项目并选择“提交目录”时,它说没有任何更改。 ??
我在版本控制->Mercurial 下看不到任何内容。
我只是想避免运行“hg init”。没什么大不了的,但很高兴知道。谢谢!
I have created a project that I wish to push to a remote repository.
When I right-click the project in project view and "commit directory," it says there are no changes. ??
I see nothing under the Version Control->Mercurial.
I just want to avoid having to run "hg init." Not that big a deal, but it would be nice to know. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“hg init”是创建存储库的一次性任务,与该存储库的各种其他活动相比,它显得微不足道。
手动创建存储库始终是一个好主意。完成后,Mercurial 会将其识别为存储库,并允许您“添加文件”、提交等。所有这些您都可以通过 hg4idea 完成。
"hg init" is a one time task to create a repository, which pales into insignificance over various other activities with that repository.
It is always a good idea to create your repository manually. Once that is done, Mercurial will recognize it as a repo and allow you to "add files", commit etc. All of which you can do via hg4idea.