git rebase unrelated histories code example Example: git refusing to merge unrelated histories on rebase git merge upstream/master --allow-unrelated-histories