I\'m very new to Git, so facing some issues with it correct usage. Here is my scenario.
I have a fork of my master repository and cloned it into my local. In that, I hav
So there's a few things to clarify:
Upstream is the conceptual name of the remote repository (or repositories) that exist. Most projects only have one upstream repository.
The name of the upstream repository can vary from project to project, but by convention is origin.
That said, I'm willing to bet that you got the name of your upstream repo and the upstream repo concept confused, and you should be executing git fetch origin
. Verify with git remote
; use the appropriate name from that list.
However, if you only have one upstream repo, performing git fetch
will accomplish the same thing.