I merged a beta branch into a leading branch. I went to the origin. Now I want the wizard to be the same as before the merge, both locally and remotely.
A good answer canceling a merge that has already been clicked suggests
git revert -m 1 commit_hash
If this is true, how can I define commit_hash ? I unsuccessfully tried the hash returned by merge-base :
$ git merge-base
I reviewed both git-log and gitk versions of branches, but they are very long, and I am not confident enough in my interpretation to feel that I have to ask for help before making a possible bigger mess. Beta was obtained from v2, which was obtained from the master. Merging with the master in v2 and beta testing occurred as I updated new branches with the master. Merging from beta to master was a bug that I want to fix.
Once I determine the merge point, if I find any commits made on master after the merge that really should be on the beta branch, what's the best way to move them?
kjhughes
source share