Post #1917918
2026-05-02 18:33 UTC
:git: #TIL Put the line
**/*__gitignore__*
in your ~/.gitignore_global file to ignore any file or directory whose name contains __gitignore__ anywhere in the path.
This handy little glob trick allows you to quickly create a space for temporary files, ad-hoc-experiments or other "stuff" you want to keep out of version control (and also out of you versioned repo-specific .gitignore)
#git #gitignore
Replies (1)
-
@richardwonka@mas.to 2026-05-02 18:34
@cark@social.tchncs.de oooh! Very nice!