path: root/Documentation/git-commit.txt
diff options
Diffstat (limited to 'Documentation/git-commit.txt')
1 files changed, 17 insertions, 5 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 9594ac8..7bdb039 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -13,7 +13,7 @@ SYNOPSIS
[-F <file> | -m <msg>] [--reset-author] [--allow-empty]
[--allow-empty-message] [--no-verify] [-e] [--author=<author>]
[--date=<date>] [--cleanup=<mode>] [--status | --no-status]
- [-i | -o] [--] [<file>...]
+ [-i | -o] [-S[<keyid>]] [--] [<file>...]
@@ -109,6 +109,10 @@ OPTIONS
format. See linkgit:git-status[1] for details. Implies
+ When doing a dry-run, give the output in a the long-format.
+ Implies `--dry-run`.
When showing `short` or `porcelain` status output, terminate
@@ -184,6 +188,11 @@ OPTIONS
commit log message unmodified. This option lets you
further edit the message taken from these sources.
+ Use the selected commit message without launching an editor.
+ For example, `git commit --amend --no-edit` amends a commit
+ without changing its commit message.
Used to amend the tip of the current branch. Prepare the tree
object you would want to replace the latest commit as usual
@@ -193,10 +202,6 @@ OPTIONS
current tip -- if it was a merge, it will have the parents of
the current tip as parents -- so the current top commit is
- Bypass the post-rewrite hook.
It is a rough equivalent for:
@@ -213,6 +218,9 @@ You should understand the implications of rewriting history if you
amend a commit that has already been published. (See the "RECOVERING
FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].)
+ Bypass the post-rewrite hook.
Before making a commit out of staged contents so far,
@@ -276,6 +284,10 @@ configuration variable documented in linkgit:git-config[1].
commit message template when using an editor to prepare the
default commit message.
+ GPG-sign commit.
Do not interpret any more arguments as options.