Quick Start

On this page

Quick Start#

How to get going at once.

Part 0: Instant usage#

(you know this from the main page)

Clone a project and push changes

hg clone https://www.mercurial-scm.org/repo/hello
cd hello
# (edit files)
hg add (new files)
hg commit -m 'My changes'
hg push

Create a project and commit

hg init (project-directory)
cd (project-directory)
# (add some files)
hg add
hg commit -m 'Initial commit'