-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Need help on fixing branches in my fork after git cleanup #3174
Comments
You might try interactive rebasing ( Alternatively, if your branch has only a few commits on it beyond the old
or (instead of the bulk cherry-pick like that), you could manually (with |
An (maybe brutal) alternative to @nwf's idiomatic Git suggestions (thanks!) is to resort to creating and then applying a patch. That normally works well - if you can live with loosing the history of the commits not yet merged upstream. You won't loose the changes but their history. It's similar to cherry-picking in that respect. |
FWIW, I believe the old |
Or even |
Thanks guys for your help. |
I need some help on how to fix my branches after the git repository has been cleaned up.
I managed to update my clean local dev branch with
But this does not work well for branches with own commits that have conflicts.
The text was updated successfully, but these errors were encountered: