Luke Diamand <l...@diamand.org> writes: > All I need is to be able to get the commit *immediately* after the > failed 'git rebase'. It looks like .git/ORIG_HEAD has exactly what I > need.
Depends on what you meant by "commit that was skipped", but the above makes me nervous. ORIG_HEAD is set to the tip of the branch being rebased at the very beginning, and updated to the current HEAD (i.e. the result of the last successful step) before --skip is given. I do not think it ever points into the commits in the original history that is being replayed. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html