I’m working on a fork of a collaborative project. To be clear, I have the collaborative project (upstream), my remote fork (origin) and my local version of the fork (local). I’ll call the different branch using a ‘:’.
I’ve create a remote branch called origin:develop-upstream by using github “New branch” from the source upstream:develop. However, origin:develop-upstream is comparing itself to upstream:main instead of upstream:develop.
In this way, I get this message which annoys me :
This branch is 18 commits ahead of, 4 commits behind upstream:main.
I would expect it to be : This branch is 0 commit ahead or behind of upstream:develop.
I’ve looked at the documentation but can’t figure out what is wrong with my git project. Is this a problem with github itself ?