git强制使用远程仓库代码覆盖本地仓库

命令如下:

git fetch --all

git reset --hard origin/master

git pull

posted @ 2019-05-26 00:14  liuqd001  阅读(2933)  评论(0编辑  收藏  举报