From 28d905b55e34369acb3686f909b7ccbf6a8035ea Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sat, 29 Sep 2007 20:15:44 -0700 Subject: [PATCH] Fix broken backslash escapes for < and > These don't work at all, (and sure enough they are not documented as possible escapes in markdown---but I think that's a bug). Anyway, use backquotes for now so that and actually appear in the output. --- tour.mdwn | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/tour.mdwn b/tour.mdwn index 1c1333f..1ac764e 100644 --- a/tour.mdwn +++ b/tour.mdwn @@ -120,9 +120,9 @@ times when you find yourself stuck trying to remember how to run a command. If you are completely stuck, simply run “git help”; it will print a brief list of commonly-used commands, along with a description of what each does. If you ask for help on a specific command (such as -"git help init"), it prints more detailed information. [XXX: Does "git -help \" work universally as a built-in or does it expect man to be -present and just call out to "man git-\"?] +"git help init"), it prints more detailed information. [XXX: Does `git +help ` work universally as a built-in or does it expect man to be +present and just call out to `man git-`?] [XXX: The original hgbook includes the complete output of "hg help init" at this point. I'm not including the corresponding @@ -530,14 +530,14 @@ conventions for options that are common to modern Linux and Unix systems. * Most options have long names. For example, as we’ve already seen, - the “git log" command accepts a --max-count=\ option. + the “git log" command accepts a `--max-count=` option. * Some options have short, single-character names. Often these are - aliases for long commands, (such as "-n \" instead of - --max-count=\), but sometimes the option exists in - short-form with no long-form equivalent, (such as -p). [XXX: It - wouldn't hurt to fix this by adding --patch, etc. right?] - * Long options start with two dashes (e.g. --max-count), while short - options start with one (e.g. -n). + aliases for long commands, (such as `-n ` instead of + `--max-count=`), but sometimes the option exists in + short-form with no long-form equivalent, (such as `-p`). [XXX: It + wouldn't hurt to fix this by adding `--patch`, etc. right?] + * Long options start with two dashes (e.g. `--max-count`), while short + options start with one (e.g. `-n`). * Option naming and usage is consistent across commands. For example, every command that lets you specify a commit identifier @@ -648,7 +648,7 @@ attempt each of the following methods, in order, (stopping for each of the author and committer name and email as soon as a value is found): 1. If you specify a --author option to the “git commit” command on - the command line, followed by a "Real Name \" + the command line, followed by a `"Real Name "` string, then this name and addresss will be used for the author fields. The committer fields will still be determined as below. This option is very helpful for when applying a commit @@ -750,19 +750,19 @@ after we’ve finished committing. Note: The -a on the command-line instructs git to commit the new content of *all* tracked files that have been modified. This is a convenience over explicitly listing filenames to be committed on the -"git commit" command line. It is useful to use "git commit \" +`git commit` command line. It is useful to use `git commit ` when there is a need to commit only some subset of the files that have been modified. -If new files need to be committed for the first time, just use "git -add \" before "git commit -a". If a file needs to be removed, -just remove it as normal before committing and "git commit -a" will +If new files need to be committed for the first time, just use `git +add ` before `git commit -a`. If a file needs to be removed, +just remove it as normal before committing and `git commit -a` will notice that---it does not need to be explicitly told about the removal. -The editor that the “git commit” command drops us into will contain an +The editor that the `git commit` command drops us into will contain an empty line, followed by a number of lines starting with “#”. These -lines contain the same information as seen in "git status" before: +lines contain the same information as seen in `git status` before: empty line # Please enter the commit message for your changes. -- 2.43.0