DEV Community

ameera-abed
ameera-abed

Posted on

Answer: There isn't anything to compare. Nothing to compare, branches are entirely different commit histories

You can force update your master branch as follows:

git checkout upstreambranch
git branch master upstreambranch -f    
git checkout master  
git push origin master -f

For the ones who have problem to merge into main branch (Which is the new default one in Github) you can use the following:

git

Top comments (1)

Collapse
 
dreamdeveloper002 profile image
dreamdeveloper002

thank you, this helps me.