Fork me on GitHub
#off-topic
<
2022-03-14
>
pez18:03:22

Does anyone know of a way to find out why a new file does not get recoginized by git as added? I haven't gitignored it on purpose and other files in the same directory are tracked...

flowthing18:03:27

Could do git status --ignored to double-check? Could be ignored by your global gitignore file, if you have one.

🙏 1
pez18:03:29

OK. I found the rule. But I am still curious if there is some command that can find the rule for me. 😃

pez18:03:44

Indeed! git check-ignore -v some/file