Skip to main content

remote

This section contains the Git remote related configuration options.

[remote.github]
owner = "orhun"
repo = "git-cliff"
token = ""

Currently, only GitHub (remote.github) is supported.

tip

owner

Sets the owner (username) of the Git remote.

repo

Sets the name of the repository.

If you are using GitHub, you can use the --github-repo argument or GITHUB_REPO environment variable.

e.g.

git cliff --github-repo orhun/git-cliff

token

Sets the access token for the remote.

If you are using GitHub, then you can also pass this value via --github-token argument or GITHUB_TOKEN environment variable as follows:

git cliff --github-token <TOKEN>