diff --git a/aider/website/docs/faq.md b/aider/website/docs/faq.md index 7588f2bb2..7c5fbee78 100644 --- a/aider/website/docs/faq.md +++ b/aider/website/docs/faq.md @@ -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.