Answer the question
In order to leave comments, you need to log in
Git and shadow bookkeeping: how to recover data?
Well, from the category of theory. What is:
For example, there is a 1C database and git in a 1C folder.
For example, we do git commit -m "clean bookkeeping" with the clear tag.
Then, over time, we turn our dark deeds ...) That is, we make a couple more commits, for example, git commit -m "dark deeds1" and then git commit -m "dark deeds2".
And the next day, people in masks burst into the office and ask for our accounting database.
Question:
if the programmer manages to do a git reset hard clear, that is, reset the changes to a "clean" version, is it possible to restore the data?
Answer the question
In order to leave comments, you need to log in
It will be very easy to restore, you just need to look in the reflog.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question