diff options
author | Liam Beguin <liambeguin@gmail.com> | 2017-12-05 12:52:34 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-05 10:20:51 -0800 |
commit | d8ae6c84da52a210e84b3734bb93c575638236d3 (patch) | |
tree | 1754874ac9b537a7a5f542e82b43b67d6d160583 /Documentation | |
parent | 0cce4a2756eb2c66544615e5ccd74671afb33256 (diff) | |
download | git-d8ae6c84da52a210e84b3734bb93c575638236d3.tar.gz git-d8ae6c84da52a210e84b3734bb93c575638236d3.tar.xz |
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 <johannes.schindelin@gmx.de>
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/rebase-config.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/rebase-config.txt b/Documentation/rebase-config.txt index 30ae08cb5..42e1ba757 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. + +rebase.abbreviateCommands:: + 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. |