Unable to pull from master to main in github
I have created a new repository in github and and add it to my localhost project to push the files to the github. And its all working fine. But in github dashboard it is asking to create a pull request. And when I am trying to do so. It threw this message.
“There isn’t anything to compare. Nothing to compare, branches are entirely different commit histories”
I got it that because main branch is empty and master branch has the data, so it didn’t found any previous history. But the problem is how it could be solved. If I am doing something then what will be the proper way to push and pull. Please help.
Ask New Question or