New branch type
This setting defines the type for new branches created using the git town hack, append, or prepend commands.
Before setting this, consider one of these more broadly applicable configuration entries:
- contribution-regex
- unknown-branch-type
- feature-regex
- observed-regex
- perennial-branches
- perennial-regex
values
These values make sense for this setting:
feature
(default)parked
perennial
prototype
config file
To configure the type of new branches in the configuration file:
[create]
new-branch-type = "feature"
Git metadata
To configure the type of new branches in Git metadata, run this command:
git config [--global] git-town.new-branch-type <feature|parked|perennial|prototype>
The optional --global
flag applies this setting to all Git repositories on
your machine. Without it, the setting applies only to the current repository.