Git强制pull命令

1、从远程下载最新的git fetch --all 2、然后git reset将主分支重置为您刚刚获取的内容git reset --hard origin/master