0

os:mac 10.11.5

ide:idea 2016

in idea , i write some code , then i want to commit it .

use command line

git status

show me

On branch master Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:

modified:   src/main/java/config/Demo1.java

it's ok,i can commit my code and push it.

but i use idea's git plugins commit show me

nothing to commit,no changes detected

use revert ,also show me

nothing to revert,no changes detected

how do I fix it,thanks

Sukima
  • 9,965
  • 3
  • 46
  • 60

0 Answers0