Mercurial > hg-website
comparison src/en/index.html @ 43:564e89c8b025
Quick Start: First cd in project dir, then init to show that hg can init in any directory - taken over from git-scm.org.
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Mon, 16 Feb 2009 11:47:42 +0100 |
parents | 08e2f077caf3 |
children | b4e2beb77366 |
comparison
equal
deleted
inserted
replaced
42:08e2f077caf3 | 43:564e89c8b025 |
---|---|
88 | 88 |
89 </pre> | 89 </pre> |
90 | 90 |
91 <p><em>Create a project and commit</em></p> | 91 <p><em>Create a project and commit</em></p> |
92 | 92 |
93 <pre>$ hg init (project) | 93 <pre>$ cd (project-directory) |
94 $ cd (project) | 94 $ hg init |
95 $ (add some files) | 95 $ (add some files) |
96 $ hg add | 96 $ hg add |
97 $ hg commit -m 'Initial commit' | 97 $ hg commit -m 'Initial commit' |
98 | 98 |
99 </pre> | 99 </pre> |