git town config
git town config [(-d | --display-types) <type>] [-h | --help] [--redact] [-v | --verbose]
The config command displays and updates the local Git Town configuration.
Subcommands
Running without a subcommand shows the current Git Town configuration.
- The get-parent subcommand outputs the parent branch of the current or given branch.
- The remove subcommand removes all Git Town related configuration from the current Git repository.
- The init subcommand launches Git Town’s setup assistant.
Options
-d <branch-types>
--display-types <branch-types>
This flag allows customizing whether Git Town also displays the branch type in addition to the branch name when showing a list of branches. More info here.
-h
--help
Display help for this command.
--redact
When set, does not output sensitive information like tokens.
-v
--verbose
The --verbose aka -v flag prints all Git commands run under the hood to
determine the repository state.