git pull : 强制覆盖本地内容 # 从远程库中下载最新版本 git fetch --all # 将本地设为刚获取的最新的内容 git reset --hard origin/master git pull