Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Unknown branch type

This setting defines the branch type to use when Git Town cannot determine the branch type using all other configuration settings:

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.