Merge¶
how to merge¶
in conflict state accept theirs¶
resolve conflict¶
refusing to merge unrelated histories¶
two repos do not have shared histories
force merge:
git merge azure/main --allow-unrelated-historiesthen solve the conflicts:
git add xxx; git commit yyynot good: will include all commits from the source repouse
cherry-pick?