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

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -