Mercurial > hg-website
changeset 30:d13070c29a6c
Added Quick Start for all but Windows users and made the TortoiseHG image jump ofer that with piranhas JavaScript code - can be replaced with dynamic page creation later on.
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Mon, 16 Feb 2009 09:24:03 +0100 |
parents | 18110c461824 |
children | 79b76605bbc4 |
files | src/en/index.html src/en/win.html |
diffstat | 2 files changed, 25 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/en/index.html Mon Feb 16 00:04:58 2009 +0200 +++ b/src/en/index.html Mon Feb 16 09:24:03 2009 +0100 @@ -53,10 +53,6 @@ </div> </div> - <div id="replace"> - That's a default content here - </div> - <div class="row"> <div class="col big"> <h3>How you can benefit from Mercurial</h3> @@ -76,9 +72,30 @@ </ol> </div> <div class="col"> - <h3>Mercurial in action</h3> - <!-- Flash Player should definitely not come here!--> - <img src="images/tour.jpg" alt=""> + <h3>Mercurial Quick Start</h3> + + <div id="replace"> +<p><em>Clone a project and create a patch</em></p> + +<pre>$ hg clone http://bitbucket.org/ArneBab/hello +$ cd hello +$ (edit files) +$ hg add (new files) +$ hg commit -m 'My changes' +$ hg export > patch.diff + +</pre> + +<p><em>Create a project and commit</em></p> + +<pre>$ hg init (project-directory) +$ (add some files) +$ hg add +$ hg commit -m 'Initial commit' + +</pre> + </div> + </div> </div> </div>