Module branchless::core::config
source · [−]Expand description
Accesses repo-specific configuration.
Modules
Environment variables which affect the functioning of
git-branchless
.Enums
Possible hint types.
Constants
Config key for
get_restack_warn_abandoned
.Functions
Get the default comment character.
If
true
, show branches pointing to each commit in the smartlog.If
true
, show associated Phabricator commits in the smartlog.If
true
, show the age of each commit in the smartlog.Get the commit template message, if any.
Get the path where Git hooks are stored on disk.
Get the default init branch name.
Get the configured editor, if any.
Determine if a given hint is enabled.
Get the configured name of the main branch.
If
true
, when advancing to a “next” commit, prompt interactively to
if there is ambiguity in which commit to advance to.If
true
, when restacking a commit, do not update its timestamp to the
current time.If
true
, create working copy snapshots automatically after certain
operations.Print instructions explaining how to disable a given hint.