RE: Question re. git remote repository
- From
- Matt Seitz (matseitz) <matseitz@cisco.com>
- Date
- Jan 17, 2013, 01:46 UTC
- Message-ID
- <A0DB01D693D8EF439496BC8B037A0AEF32209AD2@xmb-rcd-x15.cisco.com>
- In-Reply-To
- <alpine.DEB.2.02.1301161721110.21503@nftneq.ynat.uz>
Show 7 quoted lines
> From: David Lang [mailto:david@lang.hm] > > Linus says that git does not have "proper locking", so think about it, > what do > you think will happen if person A does git add a/b; git commit and person > B does > git add c/d; git commit?
Sorry, I wasn't clear. My assumption is that a shared repository on a network file system will either be:
1. a bare repository that is normally accessed only by "git push" and "git pull" (or "git fetch"), the central repository model.
2. a repository where only one user does "git add" and "git commit", while other users will do "git pull", the peer-to-peer model (you pull changes from me, I pull changes from you).