path: root/Documentation
diff options
authorLiam Beguin <>2017-12-05 17:52:34 (GMT)
committerJunio C Hamano <>2017-12-05 18:20:51 (GMT)
commitd8ae6c84da52a210e84b3734bb93c575638236d3 (patch)
tree1754874ac9b537a7a5f542e82b43b67d6d160583 /Documentation
parent0cce4a2756eb2c66544615e5ccd74671afb33256 (diff)
rebase -i: learn to abbreviate command names
`git rebase -i` already know how to interpret single-letter command names. Teach it to generate the todo list with these same abbreviated names. Based-on-patch-by: Johannes Schindelin <> Signed-off-by: Liam Beguin <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation')
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/rebase-config.txt b/Documentation/rebase-config.txt
index 30ae08c..42e1ba7 100644
--- a/Documentation/rebase-config.txt
+++ b/Documentation/rebase-config.txt
@@ -30,3 +30,23 @@ rebase.instructionFormat::
A format string, as specified in linkgit:git-log[1], to be used for the
todo list during an interactive rebase. The format will
automatically have the long commit hash prepended to the format.
+ If set to true, `git rebase` will use abbreviated command names in the
+ todo list resulting in something like this:
+ p deadbee The oneline of the commit
+ p fa1afe1 The oneline of the next commit
+ ...
+instead of:
+ pick deadbee The oneline of the commit
+ pick fa1afe1 The oneline of the next commit
+ ...
+Defaults to false.