What file permissions should the contents of $GIT_DIR have?

Viewed 5501

I have restored a git repo from backup and it does not have the correct file permissions. Is it enough to set owner +rw on all files and directories in .git, or is it more subtle?

Is there a utility to check or reset .git file permissions?

1 Answers
Related