-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix merge mistakes #6501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
just |
Git merge mistakes happen |
For hose who arrive on this page after trying to contribute but having an out of sync branch, make sure to fetch from your remote and do a hard reset on the branch you're working on. I recommend you to only do this on the branches that are out of sync. Note that if you reset a branch you are working on, you will lose all changes. Make sure to have stashed your changes away or prepare a patch to apply afterwards!
And resetting the master branch afterwards
|
Yesterday, the GH tool merged the 3.0 branch into the 2.3 branch while rebasing a PR. I didn't notice this and merged everything p to the master branch. This means that every branch no includes the 3.0 version. The commit causing trouble is: fefc8a0 and 139e2e7
I've tried to revert all merges and revert the troubled merges. This doesn't work correctly though, as it means we have to revert all 2.3...3.0 changes in 2.3. When merging 2.3 to 2.7, all 2.3...3.0 changes are still removed and 2.7 becomes the 2.3 docs.
At the moment, I have the feeling that a hard reset + force push is the only solution to this problem.
@stof do you may have a clue on how to fix this?
The text was updated successfully, but these errors were encountered: