unknown-branch-type
This setting defines the branch type to use when Git Town cannot determine the branch type using all other configuration settings:
- main-branch,
- perennial-branches
- Feature regex
- Contribution regex
- Observed regex
- or a manual branch type override set by git town park, git town contribute, git town hack, git town observe, git town prototype
Possible values are:
feature(default)contributionobservedparkedprototype
config file
In the config file,
the unknown branch type is specified in the [branches] section:
[branches]
unknown-type = "feature"
Git metadata
You can manually configure the unknown branch type using Git metadata:
git config [--global] git-town.unknown-branch-type "feature"
The optional --global flag applies this setting to all Git repositories on
your machine.
Without it, the setting applies only to the current repository.
environment variable
You can configure the branch type Git Town should assume
for unknown existing branches by setting the GIT_TOWN_UNKNOWN_BRANCH_TYPE
environment variable.