On 2020-07-24, at 1:26 AM, SJW <[email protected]> wrote: > > $ git checkout master > Switched to branch 'master' > > $ git merge staging > Updating b8a0e45..834dc62 > Fast-forward > > 23 files changed, 816 insertions(+), 550 deletions(-) > > ... lots of changes... Too many ... Oops! I meant to merge payments... Wrong > branch!
So if I understand correctly, you want to rewind "master" back to "b8a0e45", and then re-merge payments? That should be git checkout master git reset --hard b8a0e45 git merge payments This is assuming no pushes or other other-person usage of your repository since the oopsie. -- 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 to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/43BAF661-A71E-4F3B-8408-3261ACDD7558%40gmail.com.
