News for hackers. Stuff that matters.
Re:Git's Magic Files by formerly_proven on Sunday February 22, 2026 @06:27PM (#47115992)
.git/info/exclude
Re:Git's Magic Files by opello on Sunday February 22, 2026 @07:32PM (#47116488)
In the above case, since this touches the local repo, wouldn't a .gitconfig include.path be a better option?

Just in case it's unclear, you'd then set an excludesFile in the included file to the path to a file like jj.gitignore that has a line like .jj in it.

Re:Git's Magic Files by Jenk on Monday February 23, 2026 @02:25PM (#47127429)
Unfortunately not. Git clean still tries to, well, clean it. Unless I goofed it, which is a >0 possibility, I will happily concede.