More then once when I have been reviewing changes to be committed in magit, the pending changes have unexpectedly disappeared from the status buffer. I'm pretty sure it's because I am accidentally hitting some key, but I have no idea which key. It is as if I told magit to ignore all uncommitted changes. If I close out of emacs completely, open the appropriate file, and run magit-status
, then the uncommitted changes will have returned as expected and I can go ahead an commit them.
What key or function might be causing saved, uncommitted changes to be temporarily hidden or ignored like that? If I do it again, what else can I try next time, instead of closing emacs, that might make them visible again?
TAB
on the section header (e.g. Unstaged Changes) that collapses the section - maybe you are doing that?