3 ms·
> Is any of this [...] surprising [...] … Absolutely. Not at all - .gitignore is for ignoring working tree files in git operations, essentially it specifies wh
by account42 5y ago
> Is any of this [...] surprising [...] … Absolutely.
Not at all - .gitignore is for ignoring working tree files in git operations, essentially it specifies which files are not part of the repository. It is not for disabling config files and I don't think why anyone would expect that. Putting .git in .gitignore also does not make git think there is no repo because why would it?