Git目录与远程仓库的冲突问题,怎么解决

2025-05-09 21:56:28
推荐回答(1个)
回答1:

git fetch --all //只是下载代码到本地,不进行合并操作
git reset --hard origin/master //把HEAD指向最新下载的版本
git pull