Mercurial > hg-website
annotate text/quick_start.txt @ 185:c3b7cf9896aa
workflow guide: 'later workflows build on previous ones.'
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Tue, 02 Jun 2009 23:36:57 +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 |