From: Steven Rostedt Date: Fri, 20 Nov 2026 19:54:44 GMT Subject: Prevent git reset --hard from losing data Message-ID: <20261120145444.13061eb7@gandalf.local.home> Hi, Too many times I do a "git reset --hard" in the wrong directory and end up losing uncommitted changes. Is there a way to add a configuration to have that command check if there's any uncommitted changes and ask if you really want to do the reset? [ I'm writing this after I just lost some uncommitted changes from doing this :-( ] Thanks, -- Steve