赞
踩
方法1、一条命令
git fetch --all && git reset --hard origin/master && git pull
方法2、
- #取回远程库的所有修改:
- git fetch --all
- #指向远程库分支 origin的master
- git reset --hard origin/master
- #把远程库拉取到本地库
- git pull
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。