I installed hg-git, and I clone my github repository using it:
$ hg clone git+ssh://git@github.com/my/repo.git
$ git status
fatal: This operation must be run in a work tree
$ hg gexport ( now the .git is created )
$ git status
fatal: This operation must be run in a work tree
I can access the repo using Mercurial, I see the history is intact, but I can no longer use git. Ideally, I would like to be able to continue working in git, do commits, and the hg gimport
followed by hg push
to a mercurial server. However, I can't get the git part running. What can I do?