Skip to content

Configuration

Gitar Bot can be configured by adding a .gitar/config.toml file to the root of your repository.

Options

Here is an example configuration file with all the available options and their default values.

[cleanup]
# Remove unused imports after the cleanup
remove_unused_imports = true
# Each feature flag key and value cleanup results in a pull request
# If true, the existing cleanup branch will be updated with the new changes
# Else a new pull request is created
update_existing = true
[post_process]
# Auto format code after the cleanup
enable = true