Spy
Spy

Reputation: 161

Git cannot detect the file which has been modified

Git version : 1.9.1 , IDE : webstorm 8

For example , I modified A.file,B.file,C.file, then I used command git status . I could not find the status of A.file, it seemed to nothing change with A.file. I could not git commit A.file of course. But B.file and C.file were just normal.

Any help will be appreciated

Upvotes: 1

Views: 91

Answers (1)

javabrett
javabrett

Reputation: 7618

Check that A.file is not mentioned in a .gitignore file in the current or parent directories, or in .git/info/exclude within your local repository. See gitignore doc for details.

Upvotes: 1

Related Questions