Git放弃本地更改, 强制拉取最新代码

{{ time }}

指令如下

git fetch --all
git reset --hard origin/分支名
git pull