Remix.run Logo
bryancoxwell 4 hours ago

I use the ever living hell out of .git/info/exclude. Works great for scripts/Makefiles I only want locally and collaborators wouldn’t care about or be able to use.

digikata 3 hours ago | parent | next [-]

For quite a while, I've have had a shell fcn that will take all the untracked files listed in a git status, and push them to .git/info/exclude. Generally applied after an add+commit of everything I do want to go generally into the repo.

RSHEPP 4 hours ago | parent | prev [-]

Interested in examples of the types of scripts others collaborators wouldn't be able to use? Like scripts for PR workflows?

junon 4 hours ago | parent [-]

Usually when I'm working in one part of the codebase and I have sample data or something at a specific path on my local machine and Im testing the same thing over and over again will I make a Makefile or something and info/exclude it to help me keep focused. That's one way I use it.

bryancoxwell 3 hours ago | parent [-]

Yeah this is pretty much it.