问题 开发时,遇到本地修改与 GitHub 中的代码冲突,并且不想要本地代码了,想强行将 GitHub 中的代码覆盖到本地。 方法 git fetch --all git reset --hard origin/master