我正在使用 Gitolite 来管理我的 git 存储库。而且我还使用第三方 Web 应用程序来显示存储库。
但是,每次我做git push --all git@myserver.com:myproject
第三方 Web 应用程序时都无法访问存储库文件。所以我需要每次运行chmod go+rx -R /path/to/the/repository/folder
才能看到存储库。
我已经设置git config core.sharedRepository all
但仍然不记得之后的权限git push
。
我怎么解决这个问题?