Git pull remote branch to local - nicebug/nicebug.github.io GitHub Wiki
1 查看远程仓库
git remote -v
2 从远程获取最新版本到本地
git fetch orgin master
3 比较本地与远程仓库的差异
git log -p master.. orgin/master
4 远程下载下来的代码合并到本地,远程和本地的合并
git merge orgin/master
1 查看远程仓库
git remote -v
2 从远程获取最新版本到本地
git fetch orgin master
3 比较本地与远程仓库的差异
git log -p master.. orgin/master
4 远程下载下来的代码合并到本地,远程和本地的合并
git merge orgin/master