git pull的时候报错:
error: Your local changes to the following files would be overwritten by merge:
android9.0.0/build/docs/json/android.accessibilityservice.AccessibilityService.json
Please commit your changes or stash them before you merge.
Aborting
android9.0.0/build/docs目录已经不存在了。
解决:
git reset build
git pull
git commit
git push
当使用gitpull时遇到错误,提示本地更改将被合并覆盖。解决步骤包括:使用gitreset撤销更改,然后执行gitpull更新代码,再进行gitcommit和gitpush。此过程适用于当build目录不再存在的情况。
831

被折叠的 条评论
为什么被折叠?



