docs: Explain --attribute-co-authored-by and its interaction

This commit is contained in:
Paul Gauthier 2025-05-07 17:25:29 -07:00 committed by Paul Gauthier (aider)
parent 84d6cf937b
commit 67cbda3bd5

View file

@ -71,4 +71,6 @@ 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.
Finally, you can use `--attribute-co-authored-by` to have aider append a Co-authored-by trailer to the end of the commit string.
This will disable appending `(aider)` to the git author and git committer unless you have explicitly enabled those settings.