I'm not professional to git, and these days have got some problems when I use git.
There are three files shown below:
a.txt
b.txt
c.txt
When three users try to modify each of these files(Person A : a.txt
, Person B : b.txt
, Person C : c.txt
), there are no problems.
But when, these People simultaneously try to modify a.txt
, which is up-to-date file on the remote server, there may be some problems.
Let me give an example.
Person A pushed his modified a.txt
to remote server while other Persons still are modifying previous(before Person A push) a.txt
.
In this case, Person B, C's a.txt
has inconsistent with remote server's new a.txt
.
How to resolve this situation? and How people work when they are modifying same file(in above case, a.txt
) (I mean workflow)