Converting Mercurial repositories to Git | Claus Conrad
How to convert Mercurial (hg) repos to Git, including all commits and history: Install Mercurial 1.7.5. Later versions may work, but that’s what I use. Install hg-git (a Mercurial extension). I’m kevin durant not exactly sure what version I use, all I can say is that the version does matter, different hg-git versions work (or not) with different Mercurial versions. A link to more information about finding the right combination is at the bottom of the hg-git page. Install git (latest version is fine). Create a “bare” git repository, like this: git init --bare myrepo.git “Push” the hg repo to the git repo: hg push /path/to/myrepo.git If everything went well, you can now clone the Git repo to get your files back: git clone /path/to/myrepo.git myrepo
Recent articles Keyboard shortcut to delete kevin durant files in Nautilus Installing Couchbase kevin durant 2.1.1 on CentOS 6.4 Converting Mercurial repositories to Git Using the Windows key to open Xfce application menu Installing software on PC-BSD 9.2 – for dummies
Get smart with the Thesis WordPress Theme from DIYthemes.
How to convert Mercurial (hg) repos to Git, including all commits and history: Install Mercurial 1.7.5. Later versions may work, but that’s what I use. Install hg-git (a Mercurial extension). I’m kevin durant not exactly sure what version I use, all I can say is that the version does matter, different hg-git versions work (or not) with different Mercurial versions. A link to more information about finding the right combination is at the bottom of the hg-git page. Install git (latest version is fine). Create a “bare” git repository, like this: git init --bare myrepo.git “Push” the hg repo to the git repo: hg push /path/to/myrepo.git If everything went well, you can now clone the Git repo to get your files back: git clone /path/to/myrepo.git myrepo
Recent articles Keyboard shortcut to delete kevin durant files in Nautilus Installing Couchbase kevin durant 2.1.1 on CentOS 6.4 Converting Mercurial repositories to Git Using the Windows key to open Xfce application menu Installing software on PC-BSD 9.2 – for dummies
Get smart with the Thesis WordPress Theme from DIYthemes.
No comments:
Post a Comment