Hacker News new | ask | show | jobs
by sanderjd 1049 days ago
I have a $HOME/.gitignore that I use for this. (You can configure git to use that globally.) It's not a panacea, and I think other commenters are right that you should instead endeavor to organize things so that the project's own gitignore results in a sane workflow. But I think having permanently unstaged changes is worse.
1 comments

It's the perfect location to ignore *.log.

Git will fight you if you ignore .config files which are actually used.