Mercurial > hg-website
view text/quick_start.txt @ 191:e288850bd825
Some polishing of quick_start.
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Thu, 04 Jun 2009 23:11:09 +0200 |
parents | 6ec2428ec891 |
children | 3b95da26a544 |
line wrap: on
line source
= Quick Start = == Part 1: Using Mercurial == This site should get you going in an instant. Aside from the practical Quick Start to the right, there are only a few commands you need to start working. 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. A quick overview of the basic commands: - hg init: create a new repository - hg commit: save your changes in the current repository - hg log: see all changes in your repository - hg pull: get all changes from another repository int the current one - hg push: get all changes from your repository into another one - hg serve: create an instant-webserver. People can see the history there and pull from it - hg merge: join different lines of history If you want to see a nice graph of the history, just do "hg serve" in your repository and then direct your browser to http://127.0.0.1:8000 This also helps getting a feeling for what the commands do. (you can also do a lot of finegrained stuff by using different command options. Just call "hg help <command>" to see them). I you want more than this quick overview, please have a look at our longer [guide](). == Part 2: Understanding Mercurial == ... compile the great mails from M. Geisler ...