Hi Stefan, thanks for your answer. But the problem with doing so, is that I
lose the changes in Y and X.
checkout Z^ checks out the file exactly as it was in the revision before Z,
which also means losing subsequent changes. This is what I want to avoid.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at