X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=pep-git.txt;h=ccbe4376f9065a9f313203b54c3f2ab928e02336;hb=ab68136b8d9ac8da0cc474cfb2a6350e3ae8b79c;hp=edd6b7d6354f98e69700c78b9e330b5ca69879b2;hpb=90517eb956854659b11d9b96023429f1f5c35d07;p=git-wiki.git diff --git a/pep-git.txt b/pep-git.txt index edd6b7d..ccbe437 100644 --- a/pep-git.txt +++ b/pep-git.txt @@ -871,23 +871,23 @@ git. The author wrote a `comparison of alternatives `_ that seems to be mostly unbiased. -To use git-remote-hg, install or clone it, add to your PATH and +To use git-remote-hg, install or clone it, add to your PATH (or copy +script ``git-remote-hg`` to a directory that's already in PATH) and prepend ``hg::`` to Mercurial URLs. For example:: $ git clone https://github.com/felipec/git-remote-hg.git $ PATH=$PATH:"`pwd`"/git-remote-hg $ git clone hg::https://hg.python.org/peps/ PEPs -To work with the repository just use normal ``git fetch/pull/push`` -commands. +To work with the repository just use regular git commands including +``git fetch/pull/push``. -Mercurial for Git users https://mercurial.selenic.com/wiki/GitConcepts - - -References -========== - -.. [] +To start converting your Mercurial habits to git see the page +`Mercurial for Git users +`_ at Mercurial wiki. +At the second half of the page there is a table that lists +corresponding Mercurial and git commands. Should work perfectly in +both directions. Copyright