-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fatal: refusing to merge unrelated histories #125
Comments
V2 sets the detch depth to 1 by default. You might need to either set |
Thanks, that makes sense! |
@pdcmoreira thanks for confirmation. I'm updating the docs to make this more clear. |
Merged
monaka
added a commit
to PizzaFactory/che-plugin-registry
that referenced
this issue
Mar 7, 2020
monaka
added a commit
to PizzaFactory/che-devfile-registry
that referenced
this issue
Mar 7, 2020
8 tasks
You saved my day |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting the
fatal: refusing to merge unrelated histories
when I'm trying to merge branches, for some reason.My steps:
The error:
master
anddevelopment
branches can't have unrelated histories, becausedevelopment
was branched frommaster
.Running those commands locally works as expected.
Update:
Adding
--allow-unrelated-histories
to the merge command makes it work.I don't understand how does git detect the branches as having different histories though.
The text was updated successfully, but these errors were encountered: