$ git fetch origin master From https://github.com/haolly/UGUI_learn * branch master -> FETCH_HEAD $ git checkout master Already on 'master' Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch) $ git merge master Already up to date. I do not want to use git pull, so I use fetch/merge, but I can't merge the upstream to my local branch, as you can see, there are 2 commits I need to merge
masterto yourgit fetchcommand: this suppresses the update oforigin/master. This is fixed since Git 1.8.2.)