标签:
1.
git fetch https://github.com/angular/angular.js.git v1.5.8
或
2.
git pull https://github.com/angular/angular.js.git v1.5.8
--------------------------------------------------------------------------------------------------------------
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/gispathfinder/p/5930038.html