问题描述
我创建了一个项目,希望将其推送到远程存储库。
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. ??
我在Version Control-> Mercurial下看不到任何内容。
I see nothing under the Version Control->Mercurial.
我只是想避免运行hg init。这不是什么大不了的事,但知道会很高兴。谢谢!
I just want to avoid having to run "hg init." Not that big a deal, but it would be nice to know. Thanks!
推荐答案
hg init是创建存储库的一次性任务,它与其他各种活动无关紧要该存储库。
"hg init" is a one time task to create a repository, which pales into insignificance over various other activities with that repository.
手动创建存储库始终是个好主意。一旦完成,Mercurial会将其识别为回购并允许您添加文件,提交等等。所有这些都可以通过hg4idea完成。
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.
这篇关于在Intellij Idea中使用hg4idea初始化Mercurial存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!