git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature request: make reset --hard add something to the reflog
@ 2025-05-19 19:45 Josh Bleecher Snyder
  2025-05-19 19:55 ` brian m. carlson
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Bleecher Snyder @ 2025-05-19 19:45 UTC (permalink / raw)
  To: Git Mailing List

Hi!

A feature request:

I git reset --hard a lot. Every once in a while, it hurts, just
infrequently enough that I forget the pain and do it again.

I wish that git reset --hard would silently stash, add to reflog,
stash drop (or the moral equivalent) and then do the reset. That way I
could always recover my state post-facto.

Thanks,
Josh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-19 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-19 19:45 Feature request: make reset --hard add something to the reflog Josh Bleecher Snyder
2025-05-19 19:55 ` brian m. carlson
2025-05-19 21:28   ` Junio C Hamano
2025-05-19 21:35     ` brian m. carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).