top | item 45712705

(no title)

patal | 4 months ago

How would I sync access, if more than one people ssh-pushes onto the git repo? I assume syncing be necessary.

discuss

order

tasuki|4 months ago

Same as always, with any other remote?

(Use `git pull`? If the different people push to different branches, then there's no conflict and no problem. If you try to push different things into the same branch, the second person will get told their branch is out of date. They can either rebase or - if this is allowed by the repo config - force push over the previous changes...)

patal|4 months ago

Sure, if they push one after the other. If they push at the same time however, does Git handle the sync on its own?