Instead of matching certain paths relative from the root of the repo, match them everywhere. I need this for non-git tools that read the .gitignore file (e.g. fd and rg) to match/ignore the files when called from a parent directory too. `./repo/.git` would otherwise not be ignored.
32 lines
432 B
Plaintext
32 lines
432 B
Plaintext
# Ignore .git directory (mostly for tools like rg and fd)
|
|
.git
|
|
|
|
# Ignore all compiled zsh-files
|
|
*.zwc
|
|
|
|
# Ignore ctags
|
|
tags
|
|
tags.lock
|
|
tags.temp
|
|
|
|
# clangd
|
|
compile_flags.txt
|
|
|
|
# Ignore vscode files
|
|
.vscode/
|
|
|
|
# Ignore all node_modules
|
|
node_modules/
|
|
|
|
# Ignore session file created by obsession-vim
|
|
Session.vim
|
|
|
|
# Ignore python bytecode cache
|
|
__pycache__/
|
|
|
|
# Ignore python virtual environment
|
|
venv/
|
|
|
|
# Ignore latex build folder
|
|
tex_build/
|