Your local changes to the following files would be overwritten by pull

Your local changes to the following files would be overwritten by pull

解决error: Your local changes to the following files would be overwritten by pull

以下方法是强制git pull的最有效方法:

git fetch origin master
git reset --hard origin/master

本文参考案例:
https://itsyndicate.org/blog/how-to-use-git-force-pull-properly/

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注