In my forked repository I have set up a remote origin
and remote upstream
(the original repo).
git status
compare to origin.
How do I compare to upstream
?
Thank you
For git status to compare the current branch to a different remote, you would need to set that remote for said branch
git config branch.<mybranch>.remote upstream
Then try git status
again (possibly after a git remote update
).
See more at "Select remote on Git status".