fatal: refusing to merge unrelated histories git pull origin main --allow-unrelated-histories https://superuser.com/questions/1715499/without-rebasing-how-to-push-a-local-repo-to-a-new-remote-github-repo-initializ Without rebasing, how to push a local repo to a new remote github repo initialized with a license file? I have a local repo with some commits. As I want to make it publicly available t..