Git You have to resolve all merge conflicts before checkout.

粗暴方法

本地分支有更新
无法commit/push本地更新

确保本地代码是最新的,删除远程分支,再重新提交本地分支即可

专业方法

使用 git status 命令查找冲突文件 have unmerged files.

Git You have to resolve all merge conflicts before checkout._第1张图片

使用拼接命令 git rm app/release/DTALK_AI_CUSTOMER_SYSTEM_SCHOOL-release-v3.1.4(Beta-3).apk 解决了我的问题

Git You have to resolve all merge conflicts before checkout._第2张图片

git 出错前 使用android studio

Git You have to resolve all merge conflicts before checkout._第3张图片

git解决后

Git You have to resolve all merge conflicts before checkout._第4张图片

你可能感兴趣的:(Git,git)