new-branch-type configuration setting

The “new-branch-type” setting defines the type for new branches created using the git town hack, append, or prepend commands.

Before setting this, try to configure the branch type using one of these more broadly applicable configuration entries:

values

  • feature (default)
  • parked
  • perennial
  • prototype

config file

To configure the type of new branches in the configuration file:

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.