赞
踩
更新远程文件到本地方式一
查看远程仓库
git remote -v
从远程获取最新版本到本地
git fetch origin tmp
比较远程分支和本地分支
git log -p aaa origin/tmp
合并远程分支到本地
git merge origin/tmp
远程文件到本地方式二,在本地建临时分支,合并后删除
查看远程仓库
git remote -v
从远程获取最新版本到本地
git fetch origin master:tmp
比较远程分支和本地分支的区别
git diff tmp
合并远程分支到本地
git merge tmp
使用pull更新
git pull origin aaa
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。