From ae45320c40e255362b39f6ff609f759927fbd096 Mon Sep 17 00:00:00 2001 From: Matthieu Moy Date: Fri, 2 Nov 2012 11:39:30 +0100 Subject: Document 'git commit --no-edit' explicitly Signed-off-by: Matthieu Moy Signed-off-by: Jeff King --- Documentation/git-commit.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index 9594ac8e9d..694c56f783 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -184,6 +184,11 @@ OPTIONS commit log message unmodified. This option lets you further edit the message taken from these sources. +--no-edit:: + Use the selected commit message without launching an editor. + For example, `git commit --amend --no-edit` amends a commit + without changing its commit message. + --amend:: Used to amend the tip of the current branch. Prepare the tree object you would want to replace the latest commit as usual -- cgit v1.2.3