I've had a conflict during stash apply
. In this my question I was told that clean directory is not enough for applying stash without conflicts. So in order to figure out why the conflict occured I need to know what process git goes through when applying a stash. I know that stash creates two commits so I may assume that applying a stash is, in fact, 3-way merging. Am I right?
Asked
Active
Viewed 34 times
1

Community
- 1
- 1

Max Koretskyi
- 101,079
- 60
- 333
- 488
-
1Yes, the apply step uses the internal merge machinery. One way to get the stash to apply perfectly (guaranteed to be clean) is to turn the stash into a branch: see http://stackoverflow.com/a/20589663/1256452 – torek Apr 01 '15 at 18:49
-
Thanks, your answer by the link is really comprehensive! Studying it second day to get a full grasp of the process. – Max Koretskyi Apr 03 '15 at 17:38