ship-delete-tracking-branch
Some code hosting platforms like
GitHub
and
GitLab
can delete the tracking branch when shipping via their API. In this case the
tracking branch is already gone when git town ship
tries to delete it,
resulting in an error. To prevent this error, set the
ship-delete-tracking-branch setting to false
so that Git Town does not try
to delete the tracking branch.
The best way to change this setting is via the setup assistant.
in config file
ship.delete-tracking-branch = true
or
[ship]
delete-tracking-branch = true
in Git metadata
To configure this setting in Git, run this command:
git config [--global] git-town.ship-delete-tracking-branch <true|false>
The optional --global
flag applies this setting to all Git repositories on
your machine. Without it, the setting applies only to the current repository.