From: Jonathan Nieder Date: Thu, 3 Jul 2008 06:06:23 +0000 (-0500) Subject: manpages: use teletype font for sample command lines X-Git-Tag: v1.6.0-rc0~138 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=db5d6666afb9f315f9c9ac74a5d638f07cf9cbe0;p=git.git manpages: use teletype font for sample command lines I think that some of these uses of italics were meant to be rendered in quotation marks, anyway. Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-gui.txt b/Documentation/git-gui.txt index a73201d93..0e650f497 100644 --- a/Documentation/git-gui.txt +++ b/Documentation/git-gui.txt @@ -71,7 +71,7 @@ git gui citool:: git citool:: - Same as 'git gui citool' (above). + Same as `git gui citool` (above). git gui browser maint:: diff --git a/Documentation/git-help.txt b/Documentation/git-help.txt index d5b20f88f..f414583fc 100644 --- a/Documentation/git-help.txt +++ b/Documentation/git-help.txt @@ -23,7 +23,7 @@ If a git command is named, a manual page for that command is brought up. The 'man' program is used by default for this purpose, but this can be overridden by other options or configuration variables. -Note that 'git --help ...' is identical as 'git help ...' because the +Note that `git --help ...` is identical to `git help ...` because the former is internally converted into the latter. OPTIONS diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 1710626cf..146d7f545 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -36,7 +36,7 @@ The subcommand "show" (which is also the default, in the absence of any subcommands) will take all the normal log options, and show the log of the reference provided in the command-line (or `HEAD`, by default). The reflog will cover all recent actions (HEAD reflog records branch switching -as well). It is an alias for 'git log -g --abbrev-commit --pretty=oneline'; +as well). It is an alias for `git log -g --abbrev-commit --pretty=oneline`; see linkgit:git-log[1]. The reflog is useful in various git commands, to specify the old value @@ -46,7 +46,7 @@ point to one week ago", and so on. See linkgit:git-rev-parse[1] for more details. To delete single entries from the reflog, use the subcommand "delete" -and specify the _exact_ entry (e.g. ``git reflog delete master@\{2\}''). +and specify the _exact_ entry (e.g. "`git reflog delete master@\{2\}`"). OPTIONS diff --git a/Documentation/git.txt b/Documentation/git.txt index 07e9e57c5..adc027ce4 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -136,8 +136,8 @@ OPTIONS + Other options are available to control how the manual page is displayed. See linkgit:git-help[1] for more information, -because 'git --help ...' is converted internally into 'git -help ...'. +because `git --help ...` is converted internally into `git +help ...`. --exec-path:: Path to wherever your core git programs are installed. diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt index dd6a26827..a2b92933f 100644 --- a/Documentation/gitcore-tutorial.txt +++ b/Documentation/gitcore-tutorial.txt @@ -1655,7 +1655,7 @@ branch before these two merges by resetting it to 'master~2': $ git reset --hard master~2 ------------ -You can make sure 'git show-branch' matches the state before +You can make sure `git show-branch` matches the state before those two 'git-merge' you just did. Then, instead of running two 'git-merge' commands in a row, you would merge these two branch heads (this is known as 'making an Octopus'):