This commit is contained in:
Paul Gauthier 2025-03-20 11:45:50 -07:00
parent d29aff919b
commit e6a422b6c2

View file

@ -153,6 +153,21 @@ Add 6.9k tokens of command output to the chat? (Y)es/(N)o [Yes]: Yes
/ask Are there any problems with the way this change works with the FooBar class?
```
And of course you can prepare diff output outside of aider and provide it as
a file for aider to read:
```
$ git diff -C10 v1..v2 > v1-v2-changes.diff
$ aider --read v1-v2-changes.diff
Aider v0.77.2.dev+import
Main model: anthropic/claude-3-7-sonnet-20250219 with diff edit format, 8k think tokens
──────────────────────────────────
v1-v2-changes.diff
> Do you see any potential bugs in this PR?
```
{: .tip }
The `/git` command will not work for this purpose, as its output is not included in the chat.