We typically do the clean up phase explicitely. Or avoid it.
Example: you want to do something to a branch, but the next step should
use the original state of the branch.
Solution: "git checkout -b new-branch HEAD~5"
Sorry, unless you are a little less mysterious about the exact use case
you have in mind, I cannot help more.
Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html