logoalt Hacker News

jkubicekyesterday at 2:12 AM3 repliesview on HN

I'm not sure if I'm the one to blame for this or not, but the earliest reference to ".gitkeep" I can find online is my 2010 answer on Stack Overflow: https://stackoverflow.com/a/4250082/28422

If this is all my fault, I'm sorry.


Replies

pilafyesterday at 8:36 AM

This Rails commit from May 2010 mentions gitkeeps and it's a few months older than your SO post, so it seems you're absolved from guilt:

https://github.com/rails/rails/commit/785493ffed41abcca0686b...

hn92726819yesterday at 2:51 PM

Yeah... I don't think you were wrong. Having 100 tiny gitignores makes finding out why something is excluded annoying. Our policy is one root level gitgnore and gitkeeps where required.

Some devs will just open the first gitignore they see and throw stuff into it. No thank you.

show 4 replies
selridgeyesterday at 2:28 AM

This is delightful. Accidental load-bearing SO post.

show 1 reply