Automated Version Control |
|
Configuring Mercurial |
|
Creating a Repository |
|
Tracking Changes to Files |
|
Making Changes |
|
Exploring History |
|
Recovering Old Versions |
|
Ignoring Things |
|
Remote Repositories |
|
Working with Clone Repositories |
|
Collaboration |
|
Merging Changes from Different Clones |
|
Merge Conflicts |
|
Open Science |
|
Licensing |
|
Hosting |
|
~/.hgrc
(or %USERPROFILE%\Mercurial.ini
on Windows) to configure a user name,
email address, editor, and other preferences once per machine.hg init
initializes a repository.hg status
shows the status of a repository.hg add
tells Mercurial to track files.hg commit
creates a snapshot of the changes to 1 or more files in the local repository.hg diff
displays differences between revisions.hg revert
recovers old versions of files..hgignore
file tells Mercurial what files to ignore.hg push
copies changes from a local repository to a remote repository.hg pull
copies changes from a remote repository to a local repository.hg clone
copies a remote repository to create a local repository
with a remote called default
automatically set up.