From de7da1e8063382c85eaad48dd1a17e81494c8b1d Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 13 Jan 2025 09:12:56 -0800 Subject: [PATCH] copy --- aider/website/docs/faq.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/aider/website/docs/faq.md b/aider/website/docs/faq.md index 668aad49e..496e1db80 100644 --- a/aider/website/docs/faq.md +++ b/aider/website/docs/faq.md @@ -141,6 +141,18 @@ When starting a fresh aider session, you can include recent git history in the c Remember, the chat history already includes recent changes made during the current session, so this tip is most useful when starting a new aider session and you want to provide context about recent work. +You can also use aider to review PR branches: + +``` +/run git diff one-branch..another-branch + +... + +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? +``` + {: .tip } The `/git` command will not work for this purpose, as its output is not included in the chat.