文章目录 前言一、添加文件到暂存区二、提交暂存区文件三、拉取新代码到本地 前言 pull更新本地代码时,报错:error: Pulling is not possible because you have unmerged files. 说明:报错提示有未合并的文件,不能pull。 一、添加文件到暂存区 git add . 二、提交暂存区文件 git commit -m '获取最新代码' 三、拉取新代码到本地 git pull origin refactoring