git强制更新远程仓库代码到本地

339 阅读1分钟

git fetch --all
git reset --hard origin/master
origin/master 替换为要拉取的远程分支名称
git pull