Skip to content

Comment on .gitignore Is Inherently Sisypheanparent

Comments

Fossil by default ignores files and directories starting with a dot.

So, even of you explicitly add a directory, any files or directories starting with a dot inside it gets skipped.

Normally I think it is useful to ignore them in that case. Nevertheless you can (and I have done) explicitly added file names even if the directory name starts with a dot, such as ".fossil-settings/encoding-glob" and ".github/workflows/auto-assignment.yml".

We do the same thing when specific files need to be added even though they are either dot files or within dot directories.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.