# Configuration For basic configuration instructions, see [this documentation](https://developers.openai.com/codex/config-basic). For advanced configuration instructions, see [this documentation](https://developers.openai.com/codex/config-advanced). For a full configuration reference, see [this documentation](https://developers.openai.com/codex/config-reference). ## Commit attribution Codex can add a [git trailer](https://git-scm.com/docs/git-interpret-trailers) to generated commit messages so commits make Codex's involvement explicit. This behavior is gated by the `codex_git_commit` feature flag; the top-level `commit_attribution` setting is only used when that feature is enabled. Add the following to `~/.codex/config.toml`: ```toml commit_attribution = "Codex " [features] codex_git_commit = true ``` When enabled, Codex appends a `Co-authored-by:` trailer using the configured attribution value. If `commit_attribution` is omitted, Codex uses `Codex `. Set `commit_attribution = ""` to disable the trailer while leaving the feature flag enabled.