How do I fix these spurious git commits?
- by James Wenton
I made an error when I was working and wound up with a commit tree I didn't want. Right now, things look like this:
[master]
A -- B -- C -- D
\
\
C' -- D'
[HEAD]
I want to wind up like this:
[master, HEAD]
A -- B -- C -- D
How do I get there from here?