Open EstherKatz opened 9 years ago
It gives an error "Cannot revert a merge commit. Open a Git Shell and run git revert with the -m option to specifiy which parent to revert to." How do we know which parent?
If you look at your commit history (either on GitHub or in the GitHub for
Windows app), you'll see that each commit has an identifier like 572fa7c
attached to it. Find the commit that you want to go back to, and use that
identifier with the command, like git revert -m 572fa7c
. That should take
you "back in time" to that commit.
On Wed, Mar 4, 2015 at 4:34 PM, Cathy Moran Hajo notifications@github.com wrote:
It gives an error "Cannot revert a merge commit. Open a Git Shell and run git revert with the -m option to specifiy which parent to revert to." How do we know which parent?
Reply to this email directly or view it on GitHub https://github.com/JonathanReeve/sanger/issues/77#issuecomment-77254049.
is there a way to reverse my last 3/4/2015 merge commit.