Git uncommited changes not commitable -


i have weird file after last pull marked not committed , cannot commit it. seems file renamed contactnamefilter.ts -> contactnamefilter.ts on remote.

$ git status  on branch <<...>> branch up-to-date 'origin/<<...>>'. changes not staged commit:   (use "git add <file>..." update committed)   (use "git checkout -- <file>..." discard changes in working directory)      modified:   app/scripts/filters/contactnamefilter.ts  no changes added commit (use "git add" and/or "git commit -a")  $ git commit -a  on branch <<...>> branch up-to-date 'origin/<<...>>'. changes not staged commit:     modified:   app/scripts/filters/contactnamefilter.ts  no changes added commit  $ git add -a $ git commit  on branch <<...>> branch up-to-date 'origin/<<...>>'. changes not staged commit:     modified:   app/scripts/filters/contactnamefilter.ts  no changes added commit 

how possible , it?

diff:

-  export var contactnamefilter: function = function(): function { +  export var contactnamefilter: function = function(): function { 

try removing file explicitely, , adding again explicitely:

git rm --cached app/scripts/filters/contactnamefilter.ts git add app/scripts/filters/contactnamefilter.ts 

this should work if file system makes problems because of case insensitivity.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -