I have a plain copy backup of a .git directory. I don't have the actual files outside of the .git directory in the backup (git status shows that all files would be deleted on commit), only the actual .git directory.
When I do git checkout master, I get about half of the files that should be there. I was under the impression that this should recreate all the project files.
Does this mean that somewhere in the git history there is an error? Some files changes clearly couldn't resolve all the way to a complete file. If I get a backup from the complete project including the files, how can I 'fix' my history to make sure it contains everything?
I'm not a git-pro, but the backup, unpacked to an empty directory, is currently sitting in a feature branch. So according to git status, a million files would be deleted if I would do git commit. I reckoned doing git checkout master would give me all the files in the latest master commit in the empty directory.
 
     
     
     
     
    