Skip to content


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


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

# 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
# Auto format code after the cleanup
enable = true