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

命令如下:

git fetch --all

git reset --hard origin/master

git pull

猜你喜欢

转载自www.cnblogs.com/liuqd001/p/10924716.html