Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions aider/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@

# COMMANDS
undo_command_reply = (
"I did `git reset --hard HEAD~1` to discard the last edits. Please wait for further"
" instructions before attempting that change again. Feel free to ask relevant questions about"
" why the changes were reverted."
"I did `git reset --soft HEAD~1` to undo the last commit. The changes from that commit are"
" now staged but uncommitted. Please wait for further instructions before attempting that"
" change again. Feel free to ask relevant questions about why the changes were reverted."
)

added_files = (
Expand Down