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
Post a Comment