From db5d6666afb9f315f9c9ac74a5d638f07cf9cbe0 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Thu, 3 Jul 2008 01:06:23 -0500 Subject: [PATCH] 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 --- Documentation/git-gui.txt | 2 +- Documentation/git-help.txt | 2 +- Documentation/git-reflog.txt | 4 ++-- Documentation/git.txt | 4 ++-- Documentation/gitcore-tutorial.txt | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) 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'): -- 2.26.2