Contribution branches

This setting stores additional hard-coded names of contribution branches that aren’t covered by contribution-regex.

set contribution branches

To change which branches are contribution branches in your local repo, use the git town contribute command.

The Git Town configuration file does not define team-wide contribution branches because one developer’s feature branch is another developer’s contribution or observed branch.

view configured contribution branches

To see which branches are configured as contribution branches in your local repo, use the git town config command.

To view how contribution branches are stored in Git metadata:

$ git config list | grep 'git-town.contribution-branches'
git-town.contribution-branches=branch-1 branch-2