git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/5] git-commit.txt: Add missing long/short options

From
Stephan Beyer <s-beyer@gmx.net>
Date
Jun 8, 2008, 01:36 UTC
Message-ID
<1212888972-29039-1-git-send-email-s-beyer@gmx.net>
In-Reply-To
<7vy75hlzvv.fsf@gitster.siamese.dyndns.org>
And split the "-c or -C <commit>" item into two separate items.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
---
Hi,
so here's the first one ;-)
 Documentation/git-commit.txt |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 40bf63e..a94b4e3 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -57,14 +57,16 @@ OPTIONS
 	been modified and deleted, but new files you have not
 	told git about are not affected.
 
--c or -C <commit>::
+-C <commit>|--reuse-message=<commit>::
 	Take existing commit object, and reuse the log message
 	and the authorship information (including the timestamp)
-	when creating the commit.  With '-C', the editor is not
-	invoked; with '-c' the user can further edit the commit
-	message.
+	when creating the commit.
 
--F <file>::
+-c <commit>|--reedit-message=<commit>::
+	Like '-C', but with '-c' the editor is invoked, so that
+	the user can further edit the commit message.
+
+-F <file>|--file=<file>::
 	Take the commit message from the given file.  Use '-' to
 	read the message from the standard input.
 
@@ -85,7 +87,7 @@ OPTIONS
 -s|--signoff::
 	Add Signed-off-by line at the end of the commit message.
 
---no-verify::
+-n|--no-verify::
 	This option bypasses the pre-commit and commit-msg hooks.
 	See also linkgit:githooks[5][hooks].
 
@@ -112,7 +114,6 @@ OPTIONS
 	further edit the message taken from these sources.
 
 --amend::
-
 	Used to amend the tip of the current branch. Prepare the tree
 	object you would want to replace the latest commit as usual
 	(this includes the usual -i/-o and explicit paths), and the
-- 
1.5.5.1
Previous: Junio C HamanoNext: Stephan Beyer
Message 4 of 12 in “git-commit.txt: Correct option alternatives”
  1. 1/2 git-commit.txt: Correct option alternativesStephan Beyer, Jun 7, 2008
  2. 2/2 git-commit.txt: Add missing long/short optionsStephan Beyer, Jun 7, 2008
  3. Junio C HamanoJun 7, 2008
  4. 1/5 git-commit.txt: Add missing long/short optionsStephan Beyer, Jun 8, 2008
  5. 2/5 Docs: Use "-l::\n--long\n" format in OPTIONS sectionsStephan Beyer, Jun 8, 2008
  6. 3/5 Docs: add some long/short optionsStephan Beyer, Jun 8, 2008
  7. 4/5 git-describe.txt: document --alwaysStephan Beyer, Jun 8, 2008
  8. 5/5 git-name-rev.txt: document --no-undefined and --alwaysStephan Beyer, Jun 8, 2008
  9. Christian CouderJun 7, 2008
  10. git-commit.txt: Correct option alternativesStephan Beyer, Jun 7, 2008
  11. Jon LoeligerJun 8, 2008
  12. Jeff KingJun 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.