I tried to work with PhpStorm and Git. I have previous experience using NetBeans and I didn\'t have any problem with G
I solved this problem. gitignore
file was cause of problem. hope this help!
Well, i know this post is to old but... i found a solution clicking on VCS | Refresh File Status
, hope this help someone :)
See this declined bug in PHPStorm
You need to tell git to not ignore case and it will fix this behavior
git config --global core.ignorecase false
Before you can commit a new file to Git, you need to add the file. From the command-line, this is done with git add <file>
. To add a file to Git in PhpStorm, go to the Project tool window, select the file to be added, and choose "Git | Add" from the context menu. Also, before you can push changes, you need to commit them. In PhpStorm, this is done like this:
If you're using pycharm. There's a big chance that you opened the file, you worked on it, but you opened it in a different project. Therefore no changes will be detected.
You need to open the file in its corresponding project in order to be detected.
I do this. All. The. Time.
My case was, I had another git repository above my current repository so it was nested. After removing the incorrect above repository, for the current nested repository, it was possible to commit and push.