Does git lock a remote for writing when a user pushes?
问题 If two or more users simultaneously push their local repo states to the same remote at the same time, does git: lock the remote commit/branch/repo for writing before it finishes off with one user's entire batch of commits before committing another user's? Or does it release the lock on a commit/repo/branch it holds after it writes a single commit from a single user out of his batch of N commits? The first would make sense but I thought I would ask anyway. 回答1: TL;DR: mu The question contains