Git强制覆盖本地文件git fetch --allgit reset --hard origin/mastergit pull 转载于:https://blog.51cto.com/chenxiaolong/2092337