Git, files marked for deleting and won't commit

I'm using PHPStorm to manage my projects, one of which is under Git control.

I had a number of files which I renamed and changed the capilisation.

The problem I have now is that PHPStorm shows the files are marked for deletion (gray), I can commit the project ok, but files marked for deleting don't get commited or pushed to github.

I'm struggling to figure out what I can do. The files are NOT to be deleted, I need them in the project.
SheppardDigitalAsked:
Who is Participating?
 
SheppardDigitalAuthor Commented:
I've managed to fix this.

I ran 'git status' which showed that the files were due to be deleted/commited in a folder called 'repository', where as I has renamed the folder to 'Repository'.

I renamed the folder, and everything seems to be working as it should be again.
0
 
SheppardDigitalAuthor Commented:
Resolved myself
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.