Git Commit always says no changed detected
Answered
Hi,
When I change a file and then select git | commit within Intelliji Idea it displays "No changes detected" message. However, if I run git from the DOS prompt it shows the changes and allows me to commit my changes. How can I fix this in Intellij?
all my directories are registered as VCS (Git) roots.
also check Git executable: Settings | Version Control | Git | Test : give answer - Git executed successfully
Git version is 2.7.4.0
I use WebStorm 9.0.2, when I used WebStorm 7.0 this problem has not been
Thanks,
Please sign in to leave a comment.
You need to map to Git only those directories that have .git subdirectory.
It is understandable.
The problem is that not only works git commit.
Push, Pull, showLog work in Intellij.
Аgain - I use WebStorm 9.0.2, when I used WebStorm 7.0 this problem has not been
Please provide a screenshot from Settings | Version Control and idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085).
idea.log:
https://drive.google.com/file/d/0B5Td5KyLb_viZGJYV3JRSUpBd0E/view?usp=sharing
The problem occurs because you have both Git and Subversion configured for the project, but for Subversion you didn't specify the valid path to svn binary in Settings | Version Control | Subversion. IDE fails to check SVN status and aborts further processing for Git root.
Either remove the Subversion root or configure the path to svn.exe correctly in IntelliJ IDEA settings.
I've also reported a bug at https://youtrack.jetbrains.com/issue/IDEA-153726.
Thanks. It's work!