Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我的 Git 存储库在 NFS/Samba 上,有什么需要担心的吗?
例如NFS中的文件锁定是不可靠的,所以它会影响Git?
将 git 存储库放在 samba 上可能会产生文件权限问题(尤其是 +x),因为 samba 不存储它们,但 git 会。
只要只有一个人访问存储库,您就可以了。不要以这种方式在用户之间共享存储库。您的数据将是安全的,但同时推送可能会在每个分支的 HEAD 上发生冲突。