4 ms·
Do you mean it as recovering it while it's still in the index, or is it possible to add a file to the index, remove it from the index, let days of commits pass
by jolmg 8y ago
Do you mean it as recovering it while it's still in the index, or is it possible to add a file to the index, remove it from the index, let days of commits pass and still recover it?
If the latter, how do you do that?
- Boulth 8y agoOnce you add it to index it's in .git/objects. You can find it using `find` with modification date parameter. The name will be a hash but you can look at the contents. (there will also be a tree object with file names).