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
TheBoxyBear2y ago
Merged using GitHub desktop
Aeon Vex
Aeon Vex2y ago
silly question probably, but did you push? or only commit?
TheBoxyBear
TheBoxyBear2y ago
pushed
TheBoxyBear
TheBoxyBear2y ago
Think I found the culprit
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBear2y ago
So the yellow number is the commit id?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBear2y ago
Just finding the number of commits since is tricky
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBear2y ago
Yeah problem is the merge isn't showing here or in github desktop
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBear2y ago
beta into stable with dozens of files Nearly 100 commits included
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBear2y ago
My guess is it's the one from reflog
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TheBoxyBear
TheBoxyBear2y 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
TheBoxyBear2y ago
Too late now, already went along reworking the branch into a sort of lts Doing testing
Instinct
Instinct2y 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
KidKai252y 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
TheBoxyBear2y ago
I own the repo
Accord
Accord2y ago
✅ This post has been marked as answered!
Want results from more Discord servers?
Add your server
More Posts