samedi 20 décembre 2014

Why does Git's stash commit need two parents?


Why does Git's stash commit need two parents?


In the Hacker's Guide to Git, I see this mental model for stashes:


enter image description here


The guide tells me that stash@{0} needs both A and B as parents. Why? Why doesn't the stash just point to B, getting rid of the need for C? I think I am missing something in my Git comprehension.





Aucun commentaire:

Enregistrer un commentaire