X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-commit.html;h=4965cb9e617713aaafb227f50806a949c4cf26b5;hb=f84a2b1cad40a2b4ecb1dd842da24dda58c57b69;hp=f391cfff7f79055a3bb792f02bf12624b004fe08;hpb=40f2f8dd79c1622a7986e2ff2faa15c72860c79f;p=git.git diff --git a/git-commit.html b/git-commit.html index f391cfff..4965cb9e 100644 --- a/git-commit.html +++ b/git-commit.html @@ -273,8 +273,8 @@ git-commit(1) Manual Page

SYNOPSIS

-
git-commit [-a] [-i] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] - [-e] [--author <author>] [--] <file>…
+
git-commit [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] + [-e] [--author <author>] [--] [[-i | -o ]<file>…]

DESCRIPTION

@@ -389,6 +389,17 @@ information.

+-o|--only +
+
+

+ Commit only the files specified on the command line. + This format cannot be used during a merge, nor when the + index and the latest commit does not match on the + specified paths to avoid confusion. +

+
+
@@ -401,10 +412,9 @@ information.

- Commit only the files specified on the command line. - This format cannot be used during a merge, nor when the - index and the latest commit does not match on the - specified paths to avoid confusion. + Files to be committed. The meaning of these is + different between --include and --only. Without + either, it defaults --only semantics.

@@ -470,7 +480,7 @@ Junio C Hamano <junkio@cox.net>