I'm trying to use git fetch upstream master
to get the latest commit from another user's repository. But unfortunately that doesn't work. I have also tried git fetch upstream
.
What does work is git pull upstream master
, but I don't want to use that all the time, because that will always automatically perform a merge.
This is the output that I get when I execute git fetch upstream master
:
git fetch upstream master
From https://github.com/jchun/nodeSite
* branch master -> FETCH_HEAD
And here are my remotes:
git remote -v
origin git@github.com:superzaky/nodeSite.git (fetch)
origin git@github.com:superzaky/nodeSite.git (push)
upstream https://github.com/jchun/nodeSite.git (fetch)
upstream https://github.com/jchun/nodeSite.git (push)