diff --git a/README.md b/README.md index 008b2d91a..dee2cf62d 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ For more information, run `aider --help`. * `/add `: Add matching files to the chat session. * `/drop `: Remove matching files from the chat session. * `/ls`: List all known files and those included in the chat session. -* `/commit [message]`: Commit outstanding changes to the chat session files. Use this to commit edits you made outside the chat, with your editor or git commands. aider will provide a commit message if you don't. +* `/commit [message]`: Commit outstanding changes to the repo. Use this to commit edits you made outside the chat, with your editor or git commands. 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. * `/run `: Run a shell command and optionally add the output to the chat. diff --git a/aider/commands.py b/aider/commands.py index a5b268482..4e1b88067 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -72,7 +72,7 @@ class Commands: self.io.tool_error(f"Error: {first_word} is not a valid command.") def cmd_commit(self, args): - "Commit edits to chat session files made outside the chat (commit message optional)" + "Commit edits to the repo made outside the chat (commit message optional)" if not self.coder.repo: self.io.tool_error("No git repository found.")