How is 618 sales champion made?Uncover the secret of e-commerce’s “invigorating” hundreds of millions of sales data>>>
Today, the newly created repo,
on the code cloud will be associated with the local repo, and the pull
operation will result in an error similar to the following:
fatal: refusing to merge unrelated histories
After git 2.9.0, the default behavior does not allow merging branches without common ancestor
You need to add the -- allow unrelated histories
option to perform the pull operation to avoid such error messages
Take notes
git pull origin master --allow-unrelated-histories
Occupy35814;met stackoverflowopposite 357700
https://stackoverflow.com/questions/37937984/git-refusing-to-merge-unrelated-histories
Similar Posts:
- fatal: refusing to merge unrelated histories [How to Solve]
- Git | fatal: refusing to merge unrelated histories [How to Solve]
- [Solved] Git pull fatal: refusing to merge unrelated histories
- Git push Updates were rejected because the tip of your current branch is behind
- How to Solve error: failed to push some refs to ‘xxxx’
- How to Fix Git push warning: push.default is unset;
- [Solved] error: failed to push some refs to ‘xxxx’
- Bootstrap 4 pull right is invalid [How to Solve]