Share new branches

This setting allows you to change how Git Town shares new branches created with hack, append, or prepend.

Allowed values:

  • no: Keep new branches local on your machine until you sync or propose them (default behavior).
  • push: Push new branches to the development remote.
  • propose: Create a pull request for the new branch. This is similar to always adding the propose flag.

in config file

create.share-new-branches = "push|propose"

in Git metadata

To enable pushing new branches in Git, run this command:

git config [--global] share-new-branches <push|propose>

The optional --global flag applies this setting to all Git repositories on your machine. Without it, this setting applies to the current Git repo.