Differences between revisions 31 and 32
Revision 31 as of 2008-01-04 14:32:54
Size: 2361
Editor: abuehl
Comment: +cat
Revision 32 as of 2008-01-05 21:08:21
Size: 2333
Editor: abuehl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
This tutorial is an introduction to using ["Mercurial"]. We don't assume any particular background in using ["SCM"] software. This tutorial is an introduction to using Mercurial. We don't assume any particular background in using ["SCM"] software.
Line 9: Line 9:
 * The basic concepts and commands you'll need to use ["Mercurial"]
 * How to use ["Mercurial"] in simple ways to contribute to a software project
 * The basic concepts and commands you'll need to use Mercurial
 * How to use Mercurial in simple ways to contribute to a software project
Line 20: Line 20:
A line of output that you should expect ["Mercurial"] or your shell to display is displayed in a fixed font, but with no special character at the start of the line. A line of output that you should expect Mercurial or your shell to display is displayed in a fixed font, but with no special character at the start of the line.
Line 31: Line 31:
 * TutorialInstall - installing ["Mercurial"]  * TutorialInstall - installing Mercurial
Line 33: Line 33:
 * TutorialHistory - navigating the history of a ["Repository"]  * TutorialHistory - navigating the history of a repository
Line 35: Line 35:
 * TutorialShareChange - sharing changes with another ["Repository"]  * TutorialShareChange - sharing changes with another repository

(you might first want to read UnderstandingMercurial)

A tutorial on using Mercurial

This tutorial is an introduction to using Mercurial. We don't assume any particular background in using ["SCM"] software. This tutorial is also available in [wiki:FrenchTutorial French], [wiki:SpanishTutorial Spanish], [wiki:JapaneseTutorial Japanese], [wiki:ChineseTutorial Chinese], and [wiki:KoreanTutorial Korean].

After you work through this tutorial, you should have a grasp of the following:

  • The basic concepts and commands you'll need to use Mercurial
  • How to use Mercurial in simple ways to contribute to a software project

It is also strongly recommended that you have a look at the Mercurial man pages [http://www.selenic.com/mercurial/hg.1.html hg(1)] and [http://www.selenic.com/mercurial/hgrc.5.html hgrc(5)], which are in the source tree as doc/hg.1.txt and doc/hgrc.5.txt.

1. How to read this tutorial

The formatting convention is simple. Command names and parameters are displayed in fixed font.

A line of input that you should type into your shell or command prompt is displayed in a fixed font, and the line will start with a $ character.

A line of output that you should expect Mercurial or your shell to display is displayed in a fixed font, but with no special character at the start of the line.

$ this is a line of user input
this is a line of program output

We use the bash shell in all examples. The concepts remain the same for other Unix shells and the Windows cmd.exe, but the syntax of some operations may change. For example, ls in a Unix shell is roughly equivalent to dir under Windows, and Unix vi is similar to Windows edit.

2. Table of contents


CategoryTutorial

Tutorial (last edited 2013-09-02 17:41:09 by LeonardoPostacchini)