Deletion of file in .git repository

simone80
simone80
I have unintentionally deleted a file in the .git folder. The repository seems to still work (commit, push, pull, ... are working without problems). Could a deletion of a file inside the .git folder affect the files outside this folder? could the deletion undo some changes in the repository files?

Last updated

DougR
DougR
It depends on what file you removed. To see if there is any permanent damage you should run "git fsck" on the repository.

1-2 of 2

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.

Post a reply
295 views