towbar.yml names environments; Repository → Environments chooses the branch that supplies each environment’s configuration. Branch names do not belong in towbar.yml. One repository can map production to main and staging to develop:
towbar.yml
Change a mapping
Choose Edit branch on the environment row, search the available branches, and save. Towbar readstowbar.yml and the entity files at the selected branch’s current commit. A valid sync updates that environment’s imported configuration. It does not start a deployment or copy secret values from another environment.
If the branch is unreadable, missing the selected environment, or contains invalid configuration, the sync fails and Towbar retains the last valid inventory and saved secret values. Review the sync issue, correct the branch, and retry.
An app or resource can override its server and other allowed fields per environment:
.towbar/apps/web.app.yml
