Git newbie here :)
The problem with the case: the file aspnetdb.mdfwas deleted from the repository a few months ago, I decided to restore it from some earlier commits and did it like this:
git checkout master~3 aspnetdb.mdf
wanted to receive a file from the 3rd back commit
But git said there was no such file.
Then I did the following:
git checkout master~3 aspnetdb.mdf
which worked fine - I had the required file.
HOWEVER. The command git checkout master~3 aspnetdb_log.ldf(with a lower file name) is executed normally. During all dev. The processing of both files was processed in the same way (without interception of interception, etc. :)).
How to explain this behavior? What did I do wrong?
source
share