fast-import: use mem_pool_calloc()
[git.git] / Documentation / config / rebase.txt
blob9c248accec2c5d572cf11f26ffcbfe8e7eab1465
1 rebase.backend::
2         Default backend to use for rebasing.  Possible choices are
3         'apply' or 'merge'.  In the future, if the merge backend gains
4         all remaining capabilities of the apply backend, this setting
5         may become unused.
7 rebase.stat::
8         Whether to show a diffstat of what changed upstream since the last
9         rebase. False by default.
11 rebase.autoSquash::
12         If set to true enable `--autosquash` option by default.
14 rebase.autoStash::
15         When set to true, automatically create a temporary stash entry
16         before the operation begins, and apply it after the operation
17         ends.  This means that you can run rebase on a dirty worktree.
18         However, use with care: the final stash application after a
19         successful rebase might result in non-trivial conflicts.
20         This option can be overridden by the `--no-autostash` and
21         `--autostash` options of linkgit:git-rebase[1].
22         Defaults to false.
24 rebase.updateRefs::
25         If set to true enable `--update-refs` option by default.
27 rebase.missingCommitsCheck::
28         If set to "warn", git rebase -i will print a warning if some
29         commits are removed (e.g. a line was deleted), however the
30         rebase will still proceed. If set to "error", it will print
31         the previous warning and stop the rebase, 'git rebase
32         --edit-todo' can then be used to correct the error. If set to
33         "ignore", no checking is done.
34         To drop a commit without warning or error, use the `drop`
35         command in the todo list.
36         Defaults to "ignore".
38 rebase.instructionFormat::
39         A format string, as specified in linkgit:git-log[1], to be used for the
40         todo list during an interactive rebase.  The format will
41         automatically have the long commit hash prepended to the format.
43 rebase.abbreviateCommands::
44         If set to true, `git rebase` will use abbreviated command names in the
45         todo list resulting in something like this:
47 -------------------------------------------
48         p deadbee The oneline of the commit
49         p fa1afe1 The oneline of the next commit
50         ...
51 -------------------------------------------
53 instead of:
55 -------------------------------------------
56         pick deadbee The oneline of the commit
57         pick fa1afe1 The oneline of the next commit
58         ...
59 -------------------------------------------
61 Defaults to false.
63 rebase.rescheduleFailedExec::
64         Automatically reschedule `exec` commands that failed. This only makes
65         sense in interactive mode (or when an `--exec` option was provided).
66         This is the same as specifying the `--reschedule-failed-exec` option.
68 rebase.forkPoint::
69         If set to false set `--no-fork-point` option by default.
71 rebase.rebaseMerges::
72         Whether and how to set the `--rebase-merges` option by default. Can
73         be `rebase-cousins`, `no-rebase-cousins`, or a boolean. Setting to
74         true or to `no-rebase-cousins` is equivalent to
75         `--rebase-merges=no-rebase-cousins`, setting to `rebase-cousins` is
76         equivalent to `--rebase-merges=rebase-cousins`, and setting to false is
77         equivalent to `--no-rebase-merges`. Passing `--rebase-merges` on the
78         command line, with or without an argument, overrides any
79         `rebase.rebaseMerges` configuration.
81 rebase.maxLabelLength::
82         When generating label names from commit subjects, truncate the names to
83         this length. By default, the names are truncated to a little less than
84         `NAME_MAX` (to allow e.g. `.lock` files to be written for the
85         corresponding loose refs).