how to undo a merge
- From
- Hong-Ming Su <halleyinvent@gmail.com>
- Date
- Nov 1, 2011, 07:27 UTC
- Message-ID
- <CANiMyiEoaxAO3XxJMWEXP-L7C_xkxU0_nyDaor+TsJr-Ch7ARw@mail.gmail.com>
The commit graph before merging is: A--B <-master \ \ \ \ C--D--E--F <- dev
git checkout master git merge dev
The commit graph after merging is: A--B \ \ \ \ C--D--E--F <- dev <-master
master fast-forward to commit F. I want to "undo" the merge. What shall I do?
Thank you!
Best regards, Hong-Ming