Mercurial > hg-website
annotate text/quick_start.txt @ 170:6ebe8ec48a77
Work on the front page. Now we only need the quick_start, the testimonies for ease of use and the projects_using_mercurial - TODO: Check if we can find a nice svn transition guide.
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Thu, 14 May 2009 03:17:12 +0200 |
parents | 6ec2428ec891 |
children | e288850bd825 |
rev | line source |
---|---|
105
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
1 = Quick Start = |
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
2 |
114
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
3 This site should get you going in an instant. |
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
4 |
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
5 Aside from the practical Quick Start to the right, there are only a few commands you need to start working. |
105
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
6 |
114
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
7 Even if you stick to these basics, Mercurial is quite powerful. And they are very easy to use, once you see the model behind that: Each repository has the whole history, and history is not necessarily linear. |
105
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
8 |
114
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
9 A quick overview of the basic commands: |
105
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
10 |
114
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
11 - hg init: create a new repository |
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
12 - hg commit: save your changes in the current repository |
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
13 - hg log: see all changes in your repository |
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
14 - hg pull: get all changes from another repository int the current one |
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
15 - hg push: get all changes from your repository into another one |
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
16 - hg serve: create an instant-webserver. People can see the history there and pull from it |
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
17 - hg merge: join different lines of history |
105
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
18 |
114
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
19 If you want to see a nice graph of the history, just do "hg serve" in your repository and then direct your browser to |
105
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
20 |
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
21 http://127.0.0.1:8000 |
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
22 |
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
23 This also helps getting a feeling for what the commands do. |
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
24 |
114
aa325d9f79cd
Reqorked quick start text.
Arne Babenhauserheide <bab@draketo.de>
parents:
105
diff
changeset
|
25 (you can also do a lot of finegrained stuff by using different command options. Just call "hg help <command>" to see them). |
105
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
26 |
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
27 I hope your experience with Mercurial will be as great as mine! |
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
28 |
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
29 - Arne Babenhauserheide |
7a057bf137c5
Added a bastic draft for a quick_start - copied from the mailing list :) .
Arne Babenhauserheide <bab@draketo.de>
parents:
diff
changeset
|
30 |