DEV Community

Discussion on: Hg to Git with no hassles

Collapse
 
syntaxseed profile image
SyntaxSeed (Sherri W)

Wait... GitHub can import an Hg repo & convert it to Git for you?? Why did I not notice this?
🤦‍♀️

I think because I was originally migrating to GitLab & they didn't have that option. Now I'm switching to GitHub & everything is Git now anyway. Just 1 lone Hg repo left... Lol

Collapse
 
zer0pants profile image
Mike Roberts

Totally! It was literally the last thing I found / tried as I started with the official git docs first and then tried various methods to proof what would be best for us. Almost missed it entirely.

On Friday I thought I'd give it a try and it worked a treat. My motivation was, "If I have to get help to finish migrating 60+ repos how could I do it?". Almost anyone can do the above but you've got to know quite a bit more to use the other methods.