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

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -