git放弃修改,强制覆盖本地代码

$ git fetch --all

$ git reset --hard origin/master

$ git pull