diff --git a/website/assets/sample.aider.conf.yml b/website/assets/sample.aider.conf.yml index 7075eb6ff..6d401fe24 100644 --- a/website/assets/sample.aider.conf.yml +++ b/website/assets/sample.aider.conf.yml @@ -160,6 +160,9 @@ ## Attribute aider commits in the git committer name (default: True) #attribute-committer: true +## Prefix commit messages with 'aider: ' (default: False) +#attribute-commit-message: false + ## Perform a dry run without modifying files (default: False) #dry-run: false diff --git a/website/assets/sample.env b/website/assets/sample.env index 71fb2b34a..1f3420254 100644 --- a/website/assets/sample.env +++ b/website/assets/sample.env @@ -168,6 +168,9 @@ ## Attribute aider commits in the git committer name (default: True) #AIDER_ATTRIBUTE_COMMITTER=true +## Prefix commit messages with 'aider: ' (default: False) +#AIDER_ATTRIBUTE_COMMIT_MESSAGE=false + ## Perform a dry run without modifying files (default: False) #AIDER_DRY_RUN=false diff --git a/website/docs/config/aider_conf.md b/website/docs/config/aider_conf.md index 61f369834..fe80efe36 100644 --- a/website/docs/config/aider_conf.md +++ b/website/docs/config/aider_conf.md @@ -188,6 +188,9 @@ cog.outl("```") ## Attribute aider commits in the git committer name (default: True) #attribute-committer: true +## Prefix commit messages with 'aider: ' (default: False) +#attribute-commit-message: false + ## Perform a dry run without modifying files (default: False) #dry-run: false diff --git a/website/docs/config/dotenv.md b/website/docs/config/dotenv.md index 51faf6c07..2c201dc2c 100644 --- a/website/docs/config/dotenv.md +++ b/website/docs/config/dotenv.md @@ -201,6 +201,9 @@ cog.outl("```") ## Attribute aider commits in the git committer name (default: True) #AIDER_ATTRIBUTE_COMMITTER=true +## Prefix commit messages with 'aider: ' (default: False) +#AIDER_ATTRIBUTE_COMMIT_MESSAGE=false + ## Perform a dry run without modifying files (default: False) #AIDER_DRY_RUN=false diff --git a/website/docs/config/options.md b/website/docs/config/options.md index 82f58e1bd..d8bea2979 100644 --- a/website/docs/config/options.md +++ b/website/docs/config/options.md @@ -43,6 +43,7 @@ usage: aider [-h] [--llm-history-file] [--openai-api-key] [--dirty-commits | --no-dirty-commits] [--attribute-author | --no-attribute-author] [--attribute-committer | --no-attribute-committer] + [--attribute-commit-message | --no-attribute-commit-message] [--dry-run | --no-dry-run] [--commit] [--lint] [--lint-cmd] [--auto-lint | --no-auto-lint] [--test-cmd] [--auto-test | --no-auto-test] [--test] @@ -316,6 +317,14 @@ Aliases: - `--attribute-committer` - `--no-attribute-committer` +### `--attribute-commit-message` +Prefix commit messages with 'aider: ' (default: False) +Default: False +Environment variable: `AIDER_ATTRIBUTE_COMMIT_MESSAGE` +Aliases: + - `--attribute-commit-message` + - `--no-attribute-commit-message` + ### `--dry-run` Perform a dry run without modifying files (default: False) Default: False