git fetch --all git reset --hard origin/master git pull
参考文章:
《Git pull 强制拉取并覆盖本地代码》
win环境如果遇到:没有.git
执行:git init