Y
Y
You can just Eugene2017-07-19 11:33:46
git
You can just Eugene, 2017-07-19 11:33:46

How to recover data after reset hard commit?

Dear connoisseurs, these are the pies.
For example, I made a commit, and then deleted it via reset hard commit ... new files were deleted in the project (rolled back to the previous commit) the question is simple: how can I restore files?
UPDATE:
Many thanks to everyone who responded, solved the problem ....

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Makarov, 2017-07-19
@Nipheris

git reflog

V
Victor, 2017-07-19
@v_decadence

How to restore commits from an unnamed branch?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question