mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
working undo
This commit is contained in:
parent
d0d5326228
commit
ce5abf8c79
2 changed files with 76 additions and 18 deletions
|
@ -271,9 +271,7 @@ class Commands:
|
|||
self.coder.repo.repo.git.reset("--soft", "HEAD~1")
|
||||
|
||||
self.io.tool_output(
|
||||
f"{last_commit.message.strip()}\n"
|
||||
f"The above commit {self.coder.last_aider_commit_hash} "
|
||||
"was reset and removed from git.\n"
|
||||
f"Commit `{self.coder.last_aider_commit_hash}` was reset and removed from git.\n"
|
||||
)
|
||||
|
||||
if self.coder.main_model.send_undo_reply:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue