开发者

Git repository on NFS/Samba

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜