From fd935d8534fafb744f97de529f9c75a37bdeb9e9 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 29 Jul 2024 08:07:39 -0300 Subject: [PATCH] show a hint about /undo after each commit --- aider/coders/base_coder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 0e81a2857..0b0be1bfd 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -1509,6 +1509,7 @@ class Coder: if self.show_diffs: self.commands.cmd_diff() + self.io.tool_output("You can use /undo to revert and discard the committed changes.") return self.gpt_prompts.files_content_gpt_edits.format( hash=commit_hash, message=commit_message,