News for hackers. Stuff that matters.
Re:Ask HN: How do you sync your computer’s development confi... by duffyjp on Thursday May 26, 2022 @09:49AM (#31518292)
I do something similar, but even simpler. I have my entire home dir as a git repo, but my .gitignore contains a single "*". I git add files I want with a -f.

I'm gonna go though your guide later though-- I like quite a bit of what I've skimmed so far. Thanks for posting that.

Re:Ask HN: How do you sync your computer’s development confi... by bloopernova on Thursday May 26, 2022 @09:56AM (#31518382)
Any feedback on the guide will be gratefully received. I'm trying to write better docs to give a little back to the open source community - it's not much but it's what I can manage :)

EDIT: and that "*" for gitignore is intriguing, I'll have to take a better look at that whitelist vs blacklist setup, thank you!

Re:Ask HN: How do you sync your computer’s development confi... by ScottEvtuch on Thursday May 26, 2022 @11:46AM (#31519778)
I've been doing "home dir is a repo" for a while now too and I'm always surprised when people think it's weird/dangerous. I wrote a few guides with tricks on how to do it on my blog that all started with "This is probably a horrible idea but here's how to do it anyway!"