There isn’t anything to compare.

--

My-Company:main and coroo:main are entirely different commit histories.

not in same history

Does this happen to you?

If yes, then it looks like GitHub won’t let you compare the branches because they don’t actually share any of the same history at all, even though they may share much of the same files and code.

Solution

I found the solution by running in my local command prompt:

git pull origin main --allow-unrelated-histories

then push it again into your github

git push origin main

--

--

Kuncoro Wicaksono
Kuncoro Wicaksono

Written by Kuncoro Wicaksono

Building Digital Logistics Service | Tech Lead at GotSurge.co

No responses yet