开发者

Git repository on NFS/Samba

开发者 https://www.devze.com 2023-02-27 05:35 出处:网络
Are there any thing to worry if my Git repository is on NFS/Samba? E.g.开发者_JAVA技巧 file locking in NFS is not reliable, so it will affect the Git?Placing git repository on samba can produce issue

Are there any thing to worry if my Git repository is on NFS/Samba?

E.g.开发者_JAVA技巧 file locking in NFS is not reliable, so it will affect the Git?


Placing git repository on samba can produce issues with file permissions (especially +x) as samba does not store them but git does.


As long as there's only one person accessing the repository, you'll be fine. Don't share a repository among users that way. Your data will be safe, but simultaneous pushes might conflict on what ends up at the HEAD of each branch.

0

精彩评论

暂无评论...
验证码 换一张
取 消