diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-11-15 13:12:29 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-15 13:12:29 -0800 |
commit | 4eb2b9c1b93402514bbab7ad58ab8181526cd874 (patch) | |
tree | 75bbeb0edef3384164208c2373f0d1b406c6351a /git-commit.txt | |
parent | a129545d44f1f0fe9976ed87b9a7331bf239b7d8 (diff) | |
download | git-htmldocs-4eb2b9c1b93402514bbab7ad58ab8181526cd874.tar.gz |
Autogenerated HTML docs for v1.8.0-197-g5a907
Diffstat (limited to 'git-commit.txt')
-rw-r--r-- | git-commit.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/git-commit.txt b/git-commit.txt index 029589062..7bdb039d5 100644 --- a/git-commit.txt +++ b/git-commit.txt @@ -188,6 +188,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 @@ -197,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 discarded. - ---no-post-rewrite:: - Bypass the post-rewrite hook. - + -- It is a rough equivalent for: @@ -217,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].) +--no-post-rewrite:: + Bypass the post-rewrite hook. + -i:: --include:: Before making a commit out of staged contents so far, |