summaryrefslogtreecommitdiffstats
path: root/git-rebase.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-08-03 12:43:00 -0700
committerJunio C Hamano <gitster@pobox.com>2015-08-03 12:43:00 -0700
commitd7ed4041c8468a2ca93f1c8ac511af9d895d3d6d (patch)
treef209ad1e994b76de43073839fe78c6d431f60e02 /git-rebase.txt
parent2ce0aac108b9c935f3ac01e98478120df1f52ce1 (diff)
downloadgit-htmldocs-d7ed4041c8468a2ca93f1c8ac511af9d895d3d6d.tar.gz
Autogenerated HTML docs for v2.5.0-234-gefc8a
Diffstat (limited to 'git-rebase.txt')
-rw-r--r--git-rebase.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/git-rebase.txt b/git-rebase.txt
index 1d01baa5f..ca039546a 100644
--- a/git-rebase.txt
+++ b/git-rebase.txt
@@ -213,6 +213,15 @@ rebase.autoSquash::
rebase.autoStash::
If set to true enable '--autostash' option by default.
+rebase.missingCommitsCheck::
+ If set to "warn", print warnings about removed commits in
+ interactive mode. If set to "error", print the warnings and
+ stop the rebase. If set to "ignore", no checking is
+ done. "ignore" by default.
+
+rebase.instructionFormat::
+ Custom commit list format to use during an '--interactive' rebase.
+
OPTIONS
-------
--onto <newbase>::
@@ -359,6 +368,10 @@ default is `--no-fork-point`, otherwise the default is `--fork-point`.
Make a list of the commits which are about to be rebased. Let the
user edit that list before rebasing. This mode can also be used to
split commits (see SPLITTING COMMITS below).
++
+The commit list format can be changed by setting the configuration option
+rebase.instructionFormat. A customized instruction format will automatically
+have the long commit hash prepended to the format.
-p::
--preserve-merges::
@@ -514,6 +527,9 @@ rebasing.
If you just want to edit the commit message for a commit, replace the
command "pick" with the command "reword".
+To drop a commit, replace the command "pick" with "drop", or just
+delete the matching line.
+
If you want to fold two or more commits into one, replace the command
"pick" for the second and subsequent commits with "squash" or "fixup".
If the commits had different authors, the folded commit will be