运行: git merge --ff origin/master
得到错误信息:
error: Your local changes to the following files would be overwritten by merge:
dir/file1
dir/file2
dir/file3
解决办法先运行以下命令迁出远程文件:
git checkout HEAD^ dir/
时间: 2024-10-01 23:04:16
运行: git merge --ff origin/master
得到错误信息:
error: Your local changes to the following files would be overwritten by merge:
dir/file1
dir/file2
dir/file3
解决办法先运行以下命令迁出远程文件:
git checkout HEAD^ dir/