Differences between revisions 1 and 2
Revision 1 as of 2006-09-14 23:38:45
Size: 2243
Editor: BenLuo
Comment:
Revision 2 as of 2006-09-15 05:07:51
Size: 2296
Editor: BenLuo
Comment:
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
== Table of contents == == 目录 ==
Line 30: Line 30:
 * TutorialInstall - installing ["Mercurial"]
 * TutorialClone - making a copy of an existing ["Repository"]
 * TutorialHistory - navigating the history of a ["Repository"]
 * TutorialFirstChange - making your first change
 * TutorialShareChange - sharing changes with another ["Repository"]
 * TutorialExport - sharing changes with another person
 * TutorialMerge - handling multiple independent changes to a file
 * TutorialConflict - handling ["Merge"]s that need manual resolution
 * TutorialConclusion - the end
 * ChineseTutorialInstall - 安装 ["Mercurial"]
 * ChineseTutorialClone - 为现有的 [:Repository:仓库] 作一个复本
 * ChineseTutorialHistory - navigating the history of a ["Repository"]
 * ChineseTutorialFirstChange - making your first change
 * ChineseTutorialShareChange - sharing changes with another ["Repository"]
 * ChineseTutorialExport - sharing changes with another person
 * ChineseTutorialMerge - handling multiple independent changes to a file
 * ChineseTutorialConflict - handling ["Merge"]s that need manual resolution
 * ChineseTutorialConclusion - 结束

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 French, following ["FrenchTutorial"], in Spanish, following ["SpanishTutorial"] and in Japanese, following ["JapaneseTutorial"].

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.

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 command.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.

目录

ChineseTutorial (last edited 2012-11-11 13:28:11 by abuehl)