提交 12efe45a 编写于 作者: J Junio C Hamano

git-commit doc: remove duplicated --dry-run description

60c2993c (Documentation/git-commit.txt: describe --dry-run, 2009-08-15)
wanted to update the documentation to say that "git status" is not the
same as "git commit --dry-run" anymore, but it screwed up and also added
the description of --dry-run that was already present.

Noticed by Johannes Gilger.
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 eaf1c941
......@@ -9,7 +9,7 @@ SYNOPSIS
--------
[verse]
'git commit' [-a | --interactive] [-s] [-v] [-u<mode>] [--amend] [--dry-run]
[(-c | -C) <commit>] [-F <file> | -m <msg>] [--dry-run]
[(-c | -C) <commit>] [-F <file> | -m <msg>]
[--allow-empty] [--no-verify] [-e] [--author=<author>]
[--cleanup=<mode>] [--] [[-i | -o ]<file>...]
......@@ -69,12 +69,6 @@ OPTIONS
Like '-C', but with '-c' the editor is invoked, so that
the user can further edit the commit message.
--dry-run::
Do not actually make a commit, but show the list of paths
with updates in the index, paths with changes in the work tree,
and paths that are untracked, similar to the one that is given
in the commit log editor.
-F <file>::
--file=<file>::
Take the commit message from the given file. Use '-' to
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册