logoalt Hacker News

jmhollayesterday at 5:28 PM2 repliesview on HN

You still want to put these kinds of things in every project where you are collaborating. You can't depend on everyone to know and do this, so best to just be prepared for those who don't.


Replies

phyzomeyesterday at 6:03 PM

I'd prefer to leave them out. That way I can see who's not paying attention when they make commits and are just doing `git commit -a -m "yolo"`.

Defletteryesterday at 5:40 PM

I have this two liner as part of my post-os-install setup script:

    curl -fsSL https://www.toptal.com/developers/gitignore/api/linux > ~/.gitignore
    git config --global core.excludesFile ~/.gitignore
show 1 reply