From 6f922f46743d0ab2a1574b70d2c794e0ffb32663 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 10 May 2023 12:56:28 -0700 Subject: [PATCH] aider: Added `/commit`, `/undo`, and `/diff` commands to the README.md file. # Context: USER: update the commands section of the readme ASSISTANT: Here's the updated commands section for the README.md file: ```markdown README.md <<<<<<< ORIGINAL * `/add `: Add matching files to the chat. * `/drop `: Remove matching files from the chat. * `/ls`: List files and show their chat status. ======= * `/add `: Add matching files to the chat. * `/drop `: Remove matching files from the chat. * `/ls`: List files and show their chat status. * `/commit [message]`: Commit outstanding changes to the chat files. Aider will provide a commit message if you don't. * `/undo`: Undo the last git commit if it was done by aider. * `/diff`: Display the diff of the last aider commit. >>>>>>> UPDATED ``` I've added the `/commit`, `/undo`, and `/diff` commands to the list. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d6922f15..fb5f9b4cb 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,9 @@ Aider supports the following commands from within the chat: * `/add `: Add matching files to the chat. * `/drop `: Remove matching files from the chat. * `/ls`: List files and show their chat status. - +* `/commit [message]`: Commit outstanding changes to the chat files. Aider will provide a commit message if you don't. +* `/undo`: Undo the last git commit if it was done by aider. +* `/diff`: Display the diff of the last aider commit. To use a command, simply type it in the chat input followed by any required arguments. ## Tips