Are concurrent git pushes always safe if the second push only has fast-forwards from the first push?
问题 This question was migrated from Server Fault because it can be answered on Stack Overflow. Migrated 8 years ago . I want to automatically push commits in the post-receive hook from a central repo on our LAN to another central repo in the cloud. The LAN repo is created using git clone --mirror git@cloud:/path/to/repo or equivalent commands. Because the files being committed will be large relative to our upstream bandwidth, it's entirely possible something like this could happen: Alice