indexing - in git, can i restore previous uncommitted index state? -


i had modified files , staged them (they added index). mistakenly called git reset --hard. possible restore state of index before reset? in other words, i'm looking reflog index, allow me browse previous states of index, uncommitted ones.

i've found this, partially answers question, , helps recovering lost files: can use git fsck --lost-found, save unreferenced objects <path repo>/.git/lost-found/, , staged-but-uncommitted changes there.

i'm not sure if doesn't qualify question marked duplicate, though.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -