diff README.md @ 327:f8a94616b957

README: prefix commands with dollar sign
author Tay Ray Chuan <rctay89@gmail.com>
date Mon, 17 May 2010 19:50:58 +0800
parents 62315903f88b
children 5875262c92ac
line wrap: on
line diff
--- a/README.md	Mon May 17 19:49:49 2010 +0800
+++ b/README.md	Mon May 17 19:50:58 2010 +0800
@@ -20,18 +20,18 @@
 
 You can clone a Git repository from Hg by running `hg clone [url]`.  For example, if you were to run `hg clone git://github.com/schacon/munger.git` it would clone the repository down into the directory 'munger.git', then convert it to an Hg repository for you.
 
-    hg clone git://github.com/schacon/hg-git.git
+    $ hg clone git://github.com/schacon/hg-git.git
 
 If you want to clone a github repository for later pushing (or any other repository you access via ssh), you need to convert the ssh url to a format with explicit protocol prefix (mind the switch from colon to slash after the host!):
 
-    git clone git@github.com:schacon/hg-git.git
-    hg clone git+ssh://git@github.com/schacon/hg-git.git
+    $ git clone git@github.com:schacon/hg-git.git
+    $ hg clone git+ssh://git@github.com/schacon/hg-git.git
 
 If you are starting from an existing Hg repository, you have to setup a Git repository somewhere that you have push access to, add it as default path or default-push path in your .hg/hgrc and then run `hg push` from within your project.  For example:
 
-    cd hg-git # (an Hg repository)
-    (edit .hg/hgrc and add the target git url in the paths section)
-    hg push
+    $ cd hg-git # (an Hg repository)
+    $ # edit .hg/hgrc and add the target git url in the paths section
+    $ hg push
 
 This will convert all your Hg data into Git objects and push them up to the Git server.