Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Codeberg token

Git Town can interact with Codeberg in your name, for example to update pull requests as branches get created, shipped, or deleted. To do so, Git Town needs a personal access token for Codeberg.

To create an API token, follow these steps You need an API token with these permissions:

  • repository: read and write

config file

Since your API token is confidential, you cannot add it to the config file.

Git metadata

You can configure the API token manually by running:

git config [--global] git-town.codeberg-token <token>

The optional --global flag applies this setting to all Git repositories on your machine. Without it, the setting applies only to the current repository.