原文: http://www.tech126.com/git-fetch-pull/
git fetch origin master
git log -p master..origin/master
git merge origin/master
git fetch origin master:tmp
git diff tmp
git merge tmp
git pull origin master
上述命令其实相当于git fetch 和 git merge原文:http://www.cnblogs.com/wangcp-2014/p/4666880.html