I am new to git and still have big problems.
Say I'm working on a.cpp . I changed the code in a.cpp . And this change is not ready to commit or click.
Then other people also made changes to a.cpp .
In SVN / CVS, validation is performed either by merge or by conflict.
I thought git pull does the same thing.
But, it seems that git pull not merging / not conflicting. Is this the right behavior?
In addition, git checkout just overwrites a.cpp , losing all my changes.
Is there an easy way to pull the latest version and perform a merge / conflict?
source share