Why is git is ignoring files that aren’t in the .gitignore file?
git check-ignore Use git check-ignore command to debug your gitignore file (exclude files). For example: $ git check-ignore -v config.php .gitignore:2:src config.php The above output details about the matching pattern (if any) for each given pathname (including line). So maybe your file extension is not ignored, but the whole directory. The returned format is: <source> … Read more