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)contribution
observed
parked
prototype
configuration via setup assistant
A great way to configure this setting is through the setup assistant.
configure in config file
In the config file, the unknown branch type is
specified in the [branches]
section:
[branches]
unknown-type = "feature"
configure in 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.