标签:
原文: 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
从远程获取最新的版本到本地的test分支上git pull origin master
上述命令其实相当于git fetch 和 git merge标签:
原文地址:http://www.cnblogs.com/ryq2014/p/5234720.html