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

$ git fetch --all

$ git reset --hard origin/master

$ git pull

猜你喜欢

转载自www.cnblogs.com/aaron-agu/p/9212153.html