git强制覆盖: git fetch --all git reset --hard origin/master git pullgit强制覆盖本地命令(单条执行): git fetch --all && git reset --hard origin/master && git pull
git用远程代码强制覆盖本地代码
原文:https://www.cnblogs.com/Mvloveyouforever/p/13279191.html