【发布时间】:2015-09-11 04:19:42
【问题描述】:
我将我的 AS 从 '1.2' 升级到 '1.3',现在我想提交我所做的更改,我得到了这个错误:
Error:pathspec 'app/src/main/java/com/blahblah' did not match any file(s) known to git.
谁能救我?
【问题讨论】:
标签: git github android-studio
我将我的 AS 从 '1.2' 升级到 '1.3',现在我想提交我所做的更改,我得到了这个错误:
Error:pathspec 'app/src/main/java/com/blahblah' did not match any file(s) known to git.
谁能救我?
【问题讨论】:
标签: git github android-studio
我发现问题出在哪里...与升级 Android Studio 无关。 我重构并更改了我的一个类的名称,仅将其从大写更改为小写。 但看起来 GIT 有问题:Git case-sensitivity error -- renaming and committing from Android Studio
所以它基本上删除了我的旧文件,当我想推送新文件时,它不会让我......不得不恢复到我之前的提交,并按照上面的帖子提到的那样更改名称。奇怪的东西。
【讨论】: