gitlab-token
git-town.gitlab-token=<token>
To interact with the GitLab API in your name, Git Town needs a
personal access token
with api
scope. After you created your token, run
git config git-town.gitlab-token <token>
inside your code repository to store
it in the Git Town configuration for the current repository.
GitLab supports different merge methods that may need additional configuration. With GitLab's default settings, Git Town will still create a merge request while shipping. Because shipping will squash the commits, GitLab's "merge commit" and "merge commit with semi-linear history" will produce the same result, creating two commits (change plus merge commit). To get a linear history, the project needs to be configured to use the "fast-forward merge" method.