Even if you rewrite history, the data is not lost. The old commits are still in the reflog and can be recovered.
It’s extremely difficult to lose anything in Git once it’s been committed. You’d have to do something pathological or intentional.
It’s extremely difficult to lose anything in Git once it’s been committed. You’d have to do something pathological or intentional.