Configuration commands
Git Town prompts for required configuration information during usage. Git Town
stores its configuration data inside
Git configuration data. You can store
configuration values in the local or global Git configuration depending on
whether you want to share config settings between repositories or not. To see
your entire Git configuration, run git config -l
. To see only the Git Town
configuration entries, run git config --get-regexp git-town
. The following
commands read and write the configuration entries for you so that you don't have
to run Git configuration commands manually:
- git town config - display or update your Git Town configuration
- git town new-branch-push-flag - configure whether new empty branches are pushed to origin
- git town main-branch - display/set the main development branch for the current repo
- git town offline - enable/disable offline mode
- git town perennial-branches - display or update the perennial branches for the current repo
- git town pull-branch-strategy - display or set the strategy to update perennial branches