这个是因为你本地有一些文件改动,没有提交到缓存导致的,可以运行下方命令进行解决

// 缓存改动 git stash // 提交到本地 git commit // 在拉取合并代码 git pull