git fetch --all //只是下载远程内容,不做任何合并 git reset --hard origin/master //把HEAD指向刚下载的最新版 相关文章: 2022-12-23 2020-07-17 2022-01-13 2021-05-15 2022-12-23