Pro Git
Pro Git Como quiere que todas sus ramas y etiquetas suban, ahora puede ejecutar esto:
$ git push origin --allTodas sus ramas y etiquetas deben estar en su nuevo servidor Git en una importación agradable y limpia..
Since Mercurial and Git have fairly similar models for representing versions, and since Git is a bit more flexible, converting a repository from Mercurial to Git is fairly straightforward, using a tool called "hg-fast-export", which you’ll need a copy of:
$ git clone http://repo.or.cz/r/fast-export.git /tmp/fast-exportThe first step in the conversion is to get a full clone of the Mercurial repository you want to convert:
$ hg clone <remote repo URL> /tmp/hg-repoThe next step is to create an author mapping file. Mercurial is a bit more forgiving than Git for what it will put in the author field for changesets, so this is a good time to clean house. Generating this is a one-line command in a bash shell:
$ cd /tmp/hg-repo $ hg log | grep user: | sort | uniq | sed 's/user: *//' > ../authorsThis will take a few seconds, depending on how long your project’s history is, and afterwards the /tmp/authors file will look something like this: