Accidentally merged untested code in the stable branch, can't find the merge to revert [Answered]

Title explains it. https://github.com/TheBoxyBear/charttools I accidentally merged beta into stable which included nearly 100 commits. I can see other merges that were done in the commit history but not the last one yet the merge did happen and all the files are in the branch.
GitHub
GitHub - TheBoxyBear/charttools: Library for editing Clone Hero son...
Library for editing Clone Hero song files in .NET. Contribute to TheBoxyBear/charttools development by creating an account on GitHub.
22 Replies
TheBoxyBear
TheBoxyBearOP3y ago
Merged using GitHub desktop
Aeon Vex
Aeon Vex3y ago
silly question probably, but did you push? or only commit?
TheBoxyBear
TheBoxyBearOP3y ago
pushed
TheBoxyBear
TheBoxyBearOP3y ago
Think I found the culprit
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBearOP3y ago
So the yellow number is the commit id?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBearOP3y ago
Just finding the number of commits since is tricky
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBearOP3y ago
Yeah problem is the merge isn't showing here or in github desktop
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBearOP3y ago
beta into stable with dozens of files Nearly 100 commits included
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBearOP3y ago
My guess is it's the one from reflog
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBearOP3y ago
Last one on that branch was months ago Still in pre-release so tempted to just delete stable, make beta the main branch and quickly bugfix Would still contain a bunch of unfinished classes Or could delete the classes and references. There's not much crossreferencing with what used to be there anyway Just how can I make sure the future merge from beta to stable will cause conflicts so I have the option to keep the files missing from stable6
Mayor McCheese
does a log adog help identify your commits? git log --all --decorate --oneline --graph
TheBoxyBear
TheBoxyBearOP3y ago
Too late now, already went along reworking the branch into a sort of lts Doing testing
Instinct
Instinct3y ago
Git blame could be a solid choice or a possibility for this case? @Mayor McCheese And by "solid choice" I mean that it'll do the job just fine
KidKai25
KidKai253y ago
Why have they allowed the merging ability in the first place? I don't have access to ever merge directly into the main branch Code review is done always and I have to create a PR.
TheBoxyBear
TheBoxyBearOP3y ago
I own the repo
Accord
Accord3y ago
✅ This post has been marked as answered!
Want results from more Discord servers?
Add your server