diff --git a/aider/args.py b/aider/args.py index 20708b2ad..8b0b2fa0e 100644 --- a/aider/args.py +++ b/aider/args.py @@ -361,7 +361,7 @@ def get_parser(default_config_files, git_root): "--attribute-commit-message", action=argparse.BooleanOptionalAction, default=False, - help="Prefix commit messages with 'aider: ' (default: False)", + help="Prefix commit messages with 'aider: ' if aider authored the changes (default: False)", ) group.add_argument( "--commit", diff --git a/aider/website/assets/sample.aider.conf.yml b/aider/website/assets/sample.aider.conf.yml index 6489ecac8..8a22224ff 100644 --- a/aider/website/assets/sample.aider.conf.yml +++ b/aider/website/assets/sample.aider.conf.yml @@ -170,7 +170,7 @@ ## Attribute aider commits in the git committer name (default: True) #attribute-committer: true -## Prefix commit messages with 'aider: ' (default: False) +## Prefix commit messages with 'aider: ' if aider authored the changes (default: False) #attribute-commit-message: false ## Commit all pending changes with a suitable commit message, then exit diff --git a/aider/website/assets/sample.env b/aider/website/assets/sample.env index e8725b596..3360112bd 100644 --- a/aider/website/assets/sample.env +++ b/aider/website/assets/sample.env @@ -174,7 +174,7 @@ ## Attribute aider commits in the git committer name (default: True) #AIDER_ATTRIBUTE_COMMITTER=true -## Prefix commit messages with 'aider: ' (default: False) +## Prefix commit messages with 'aider: ' if aider authored the changes (default: False) #AIDER_ATTRIBUTE_COMMIT_MESSAGE=false ## Commit all pending changes with a suitable commit message, then exit diff --git a/aider/website/docs/config/aider_conf.md b/aider/website/docs/config/aider_conf.md index 4dc49cc3c..be4c17a39 100644 --- a/aider/website/docs/config/aider_conf.md +++ b/aider/website/docs/config/aider_conf.md @@ -209,7 +209,7 @@ cog.outl("```") ## Attribute aider commits in the git committer name (default: True) #attribute-committer: true -## Prefix commit messages with 'aider: ' (default: False) +## Prefix commit messages with 'aider: ' if aider authored the changes (default: False) #attribute-commit-message: false ## Commit all pending changes with a suitable commit message, then exit diff --git a/aider/website/docs/config/dotenv.md b/aider/website/docs/config/dotenv.md index 6fa8cb126..c5ae2c2ea 100644 --- a/aider/website/docs/config/dotenv.md +++ b/aider/website/docs/config/dotenv.md @@ -216,7 +216,7 @@ cog.outl("```") ## Attribute aider commits in the git committer name (default: True) #AIDER_ATTRIBUTE_COMMITTER=true -## Prefix commit messages with 'aider: ' (default: False) +## Prefix commit messages with 'aider: ' if aider authored the changes (default: False) #AIDER_ATTRIBUTE_COMMIT_MESSAGE=false ## Commit all pending changes with a suitable commit message, then exit diff --git a/aider/website/docs/config/options.md b/aider/website/docs/config/options.md index 67b3b3d97..e946816dc 100644 --- a/aider/website/docs/config/options.md +++ b/aider/website/docs/config/options.md @@ -332,7 +332,7 @@ Aliases: - `--no-attribute-committer` ### `--attribute-commit-message` -Prefix commit messages with 'aider: ' (default: False) +Prefix commit messages with 'aider: ' if aider authored the changes (default: False) Default: False Environment variable: `AIDER_ATTRIBUTE_COMMIT_MESSAGE` Aliases: diff --git a/aider/website/docs/git.md b/aider/website/docs/git.md index e863c6053..cb955dacd 100644 --- a/aider/website/docs/git.md +++ b/aider/website/docs/git.md @@ -55,5 +55,6 @@ 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 prefix commit messages with 'aider: '. -This option is disabled by default, but can be useful for easily identifying commits made by aider. +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.