statix
statix copied to clipboard
Ignore file in `.git/info/exclude`
This file is simular to .gitignore
except that is isn't part of the worktree and and only a repository local configuration.
The git configuration option core.excludesFile
also point to a file contain ignore patterns and defaults if not set to $XDG_CONFIG_HOME/git/ignore
Documentation about this: https://git-scm.com/docs/gitignore
I've hitting this issue when trying to work with multiple git worktrees which are contains in a .worktree
folder in the "parent" repository worktree.