Sorry, I'm pretty new to Git, and it's hard to find answers to such complex phrases (at least for me) on Google.
Say I'm calling Joe and I'm working on software with my colleague Bob.
We have Repo A upstream, and we have Repo A clones on our local machines, where we code, commit and periodically click on the same branch , say, the master. I know that this is not technically the best way to do this, but, for example, for the sake of.
Now, what happens if we both work on the same file. Bob local file that he has not yet clicked has contents
// awesome program [some edits by Bob]
My local file, which I have not clicked yet, has the contents
Bob presses, after a second I press. What is happening now?
Will the file on the remote device be
or
or perhaps if there is a way to do this, I would like it to be
Sorry for the noobishness :(
source share