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.
精彩评论