DEV Community

Discussion on: Understanding the Contents of the .git Folder

Collapse
 
adophlidu profile image
Adophlidu

@rajaniraiyn if we only have the .git floder, can we rebuild our project files with the snapshots in the object folder? hoping for your replying, thanks

Collapse
 
rajaniraiyn profile image
Rajaniraiyn R

Ideally we can. But those snapshots must be valid for the commit it refers to. If we are able to match them, then git's integrity checking will pass and we can rebuild our project.