一般更新失败有可能有冲突的,如果是没用的可以先用replace with 下的index 恢复到最新版本,再pull下就没问题了 如果有需要提交的,先提交更改的,然后pull,再push to upStream