Re: GIT pull
From: Matthieu Moy <hidden>
Date: 2016-06-15 22:53:34
cvalusek [off-list ref] writes:
If a user has local modifications not on the index and does a pull, I have seen git attempt to start applying the merge to master and abort. The whole checkout is then left in a terrible state that is nearly unrecoverable.
What do you mean by "terrible state"? What does "git status" say?
In the past, I thought GIT would run some sort of check to identify these problems before it attempts the merge.
Git does check uncommited changes before merging. It allows the merge if the changes touch different files (i.e. if the merge is guaranteed not to touch the same files as the one for which you have uncommited changes). -- Matthieu Moy http://www-verimag.imag.fr/~moy/