I have a somewhat clean history:
M1 - M2 - M3*
\ - H1 - H2 - H3*
M is branch master, H is a topic branch, each of them point to the commit
marked with the asterisk. Now I want to move master forward only one commit
(others are not ready for publish, and are subject for a big rebase), so
master would point to H1. My idea was to use git reset --hard H1 on master.
I have used git-reset many times to move a branch back in time, but moving
forward is a bit strange in this situation. Also, I tried git-reset
(without --hard) to achieve my goal, but it - of course - modified my
index, too. I was wondering if reset is the correct thing to do in this
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.