I have this file under assets/fonts/myFont.otf
I can't check it into my repo. But it is not ignored as far as I can tell.
git checkout assets/fonts/myFont.otf
error: pathspec 'assets/fonts/myFont.otf' did not match any file(s) known to git.
But adding it has no effect.
git add assets/fonts/myFont.otf
I can't get git status
to show the file in any way.
I have tried so far:
- git add -f
- git update-index --no-assume-unchanged
- git config --global core.excludesfile
- checking all .gitignore files in the project
- Changeing the file ending from
.otf
to.ttf
-> It works - Moving /assets/fonts/* to . -> It works
- git check-ignore assets/fonts/* -> empty output
I could not find out why *.otf
files are ignored in my assets/fonts/
folder. Any other things that I can try to find out? Any Ideas what might cause this? OS is macos 13.14.6