Expand description
Every stk-owned git config key and its resolution logic, in one place.
Constants§
- ABSORB_
INCLUDE_ UNSTAGED_ KEY - CHECK_
TIMEOUT_ KEY - DEFAULT_
CHECK_ TIMEOUT_ SECS - How long
merge --waitpolls a review’s checks before giving up, unlessstk.checkTimeoutoverrides it. Generous so a slow-but-real CI is not cut off; the point is to bound a pipeline that never settles, not a long one. - DEFAULT_
REMOTE - GITLAB_
HOST_ KEY - MERGE_
STRATEGY_ KEY - MERGE_
WAIT_ KEY - NO_
UPDATE_ CHECK_ KEY - PROVIDER_
KEY - PUSH_
ON_ RESTACK_ KEY - PUSH_
ON_ SUBMIT_ KEY - REMOTE_
KEY - SETTINGS
- Every
[stk]setting the tool reads, with its default behavior. Shown bygit stk config. - SUBMIT_
DRAFT_ KEY - SUBMIT_
STACK_ KEY - UPDATE_
REFS_ KEY
Functions§
- bool_
setting - A boolean setting’s value, defaulting to false when unset.
- check_
timeout - How long
merge --waitkeeps polling a review’s checks before giving up, fromstk.checkTimeout(whole seconds).0waits indefinitely; unset usesDEFAULT_CHECK_TIMEOUT_SECS. - gitlab_
host - A self-hosted GitLab host (e.g.
gitlab.example.com) to recognize as GitLab alongside gitlab.com (stk.gitlabHost).glabreads the host from the git remote on its own, so this only widens stk’s provider detection. - merge_
strategy - The merge strategy for
git stk merge: squash, rebase, or merge. - push_
enabled - Resolve a
--push/--no-pushflag pair against its config-key default. - remote
- The remote used for provider detection, trunk discovery, and pushes.