mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
undo print & reply
This commit is contained in:
parent
79d38b5d68
commit
7a0e020c66
2 changed files with 8 additions and 1 deletions
|
@ -107,7 +107,9 @@ class Commands:
|
|||
return
|
||||
self.coder.repo.git.reset("--hard", "HEAD~1")
|
||||
self.console.print(
|
||||
f"[red]{last_commit.message.strip()}\nThe above commit {self.coder.last_aider_commit_hash} was reset and removed from git.\n"
|
||||
f"[red]{last_commit.message.strip()}\n"
|
||||
f"The above commit {self.coder.last_aider_commit_hash} "
|
||||
"was reset and removed from git.\n"
|
||||
)
|
||||
|
||||
return prompts.undo_command_reply
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue