Some code hosting platforms like
can delete the tracking branch when shipping via their API. In this case the
tracking branch is already gone when
git ship tries to delete it, resulting in
an error. To prevent this error, set the ship-delete-tracking-branch setting
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.
ship-delete-tracking-branch = false
To configure this setting in Git, run this command:
git config [--global] git-town.ship-delete-tracking-branch <true|false>
--global flag applies this setting to all Git repositories on
your local machine. When not present, the setting applies to the current repo.