Elektrine lite

← Feed

@Ascend910@lemmy.ml

2026-10-11 01:52 UTC

yes

Replies (5)

  • @deadbeef79000@lemmy.nz 2026-10-11 03:09

    Nonono. This makes sense. It ignores all other gitignore files in all subdirectories. It would be one way to enforce concentrating all ignores into this file (or its ancestors).

    Open ##4981230

  • @someacnt_@lemmy.world 2026-10-11 03:36

    Out of curiousity, I searched about it. Turned out, there were actually people who wanted to ignore the gitignore file. stackoverflow.com/…/add-gitignore-to-gitignore

    Open ##4981419

  • @fubarx@lemmy.world 2026-10-11 04:32

    Open ##4981889

  • funnily enough I did that and sometimes do in some projects in order to locally not commit IDE stuff or test folders. if I want to update the .gitignore in such cases I test local and change in the remote.

    Open ##4983256

  • @LeapSecond@lemmy.zip 2026-10-11 07:26

    FYI there is a command to ignore specific files locally: git update-index --skip-worktree from here. And you can later unignore it with –no-skip-worktree

    Open ##4983702