Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hg-git not pushing commits on Github

I have this problem with hg-git where I can't push any commits to Github anymore. When before I had no problems at all.

I have a Mercurial repo in Bitbucket where I push to Github, with

hg push git+ssh://[email protected]:userid/MyRepo.git

This used to work, however now, when I do this, hg always return that there was no changes and the commits are not updated to Github. It is able to connect, no problems of that kind. It is really weird, something might have gone corrupted. So I did a fresh

hg clone 

of the repo from Bitbucket, checked if the commit history is there and then do the hg push to Github again, still it does not find any changes.

What could be the problem?


1 Answers

According to 'Use' section in https://bitbucket.org/durin42/hg-git/overview, you should switch from colon to slash after the host:

hg push git+ssh://[email protected]/userid/MyRepo.git
like image 136
andref Avatar answered Mar 24 '26 09:03

andref