0

I upgraded my AS from '1.2' to '1.3', and now I want to commit the changes I made and I get this error:

Error:pathspec 'app/src/main/java/com/blahblah' did not match any file(s) known to git.

Can anyone save me?

Rohit Gupta
  • 4,022
  • 20
  • 31
  • 41
sorry_I_wont
  • 639
  • 1
  • 9
  • 16

1 Answers1

1

I found out what the problem was...it was not related to upgrading Android Studio. I refactored and change the name of one of my classes, only changing it to lowercase from uppercase. But looks like GIT has problem with that: Git case-sensitivity error -- renaming and committing from Android Studio

So it basically deleted my old file, and when I wanted to push the new one, it would not let me...had to revert back to my previous commit, and change the name as the above post mentions. Weird weird stuff.

Community
  • 1
  • 1
sorry_I_wont
  • 639
  • 1
  • 9
  • 16