Hg-git没有在Github上推送提交

时间:2013-04-24 11:25:52

标签: git version-control mercurial tortoisehg hg-git

我在hg-git遇到此问题,我无法再将任何提交推送到Github。 在我没有任何问题之前。

我在Bitbucket有一个Mercurial回购,我推送到Github,

hg push git+ssh://git@github.com:userid/MyRepo.git

这曾经有用,但是现在,当我这样做时,hg始终返回没有更改,并且提交未更新为Github。它能够连接,没有那种问题。这真的很奇怪,有些东西可能已经腐败了。所以我做了一个新鲜的

hg clone 
来自Bitbucket的repo的

,检查提交历史是否存在,然后再次将hg推送到Github,仍然没有找到任何更改。

可能是什么问题?

1 个答案:

答案 0 :(得分:1)

根据https://bitbucket.org/durin42/hg-git/overview中的“使用”部分,您应该在主持人之后从冒号切换为斜杠:

hg push git+ssh://git@github.com/userid/MyRepo.git