Why Nostr? What is Njump?
2023-11-14 11:43:50
in reply to

Ramin Honary on Nostr: > "There's always the reflog, right?" npub1vd9ar…0yk94 in this case I pressed reset ...

> "There's always the reflog, right?"
in this case I pressed reset before adding things to the current commit so it was not in the reflog as the bug fixes had never been added to a commit, not even a staging commit. What Magit hard reset does is resets to the commit that you select, but first you choose if you want only one file, or if you want to reset all files. That is the difference between hard and soft reset.
It is something I do not very often, so I don't think I would get used to just pressing "yes" reflexively. The problem here was I didn't realize I had pressed X h instead of X f until after I selected the reset commit and all my changes suddenly dissapeared.
Author Public Key
npub1ft5hkgyyu2ev80qh8pw2ggtecawfza7zlmm0pwvuvhapwll568aq0ychga