Mercurial > hg-website
changeset 203:e25c49f3fe47
quick_start to Markdown
author | drak@bach |
---|---|
date | Sat, 27 Jun 2009 06:44:24 -0400 |
parents | dbf469434236 |
children | 3989294c82e4 |
files | hgscm/templates/quick_start.html |
diffstat | 1 files changed, 17 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/hgscm/templates/quick_start.html Sat Jun 27 06:40:55 2009 -0400 +++ b/hgscm/templates/quick_start.html Sat Jun 27 06:44:24 2009 -0400 @@ -1,31 +1,32 @@ -= Quick Start = +Quick Start +=========== -*This site should get you going at once.* +*How to get going at once.* -== Part 0: Instant usage == +## Part 0: Instant usage *(you know this from the main page)* Clone a project and create a patch -$ hg clone http://hg-scm.org/hello -$ cd hello -$ (edit files) -$ hg add (new files) -$ hg commit -m 'My changes' -$ hg export tip > patch.diff + $ hg clone http://hg-scm.org/hello + $ cd hello + $ (edit files) + $ hg add (new files) + $ hg commit -m 'My changes' + $ hg export tip > patch.diff Create a project and commit -$ hg init (project-directory) -$ cd (project-directory) -$ (add some files) -$ hg add -$ hg commit -m 'Initial commit' + $ hg init (project-directory) + $ cd (project-directory) + $ (add some files) + $ hg add + $ hg commit -m 'Initial commit' -== Part 1: Using Mercurial == +## Part 1: Using Mercurial Aside from the practical Quick Start above, there are only a few commands you need to start working. @@ -51,7 +52,7 @@ I you want more than this quick overview, please have a look at our longer [practical guide]({% url workflow_guide %}). -== Part 2: Understanding Mercurial from Subversion == +## Part 2: Understanding Mercurial from Subversion Now we'll look at some of the basic concepts of Mercurial to get a better understanding of its internals: