logoalt Hacker News

formerly_provenyesterday at 11:27 PM1 replyview on HN

.git/info/exclude


Replies

opellotoday at 12:32 AM

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.