CLI configuration¶
The behavior of git-spice can be customized with git config
.
Configuration options may be set at the user level with the --global
flag,
or at the repository level with the --local
flag.
What about --system
and --worktree
?
All configuration levels supported by git config
are allowed,
although --system
and --worktree
are less commonly used.
Use --worktree
to override repository-level settings
for a specific git-worktree.
Available options¶
spice.branchCheckout.showUntracked¶
When running
Accepted values:
true
false
(default)
spice.branchCreate.commit¶
Whether false
to default to creating new branches without committing,
and use the --commit
flag to commit changes when needed.
true
(default)false
spice.forge.github.apiUrl¶
URL at which the GitHub API is available.
Defaults to $GITHUB_API_URL
if set,
or computed from the GitHub URL if not set.
See also: GitHub Enterprise.
spice.forge.github.url¶
URL of the GitHub instance used for GitHub requests.
Defaults to $GITHUB_URL
if set, or https://github.com
otherwise.
See also: GitHub Enterprise.
spice.log.all¶
Whether
Accepted values:
true
false
(default)
spice.submit.navigationComment¶
Specifies whether CR submission commands (
Accepted values:
true
(default): always post or update navigation commentsfalse
: don't post or update navigation commentsmultiple
: post or update navigation comments only for stacks with at least two CRs
spice.submit.publish¶
Whether submission commands (
If this is set to false, submit commands will push branches,
but not create CRs.
In that case, the --publish
flag will opt-in to creating CRs
on a case-by-case basis.
Accepted values:
true
(default)false