From 191b248149efd759a22192745c2f83dcf6fd29fe Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 10 Aug 2024 11:10:58 -0700 Subject: [PATCH] docs: Update documentation for commit attribution options --- aider/website/docs/git.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/aider/website/docs/git.md b/aider/website/docs/git.md index cb955dacd..32e5e4d36 100644 --- a/aider/website/docs/git.md +++ b/aider/website/docs/git.md @@ -55,6 +55,9 @@ Aider marks commits that it either authored or committed. You can use `--no-attribute-author` and `--no-attribute-committer` to disable modification of the git author and committer name fields. -Additionally, you can use `--attribute-commit-message` to have -aider prefix commit messages with 'aider: ' if it has authored the changes. -This option is disabled by default, but can be useful for easily identifying changes made by aider. +Additionally, you can use the following options to prefix commit messages: + +- `--attribute-commit-message-author`: Prefix commit messages with 'aider: ' if aider authored the changes. +- `--attribute-commit-message-committer`: Prefix all commit messages with 'aider: ', regardless of whether aider authored the changes or not. + +Both of these options are disabled by default, but can be useful for easily identifying changes made by aider.