Hacker News new | ask | show | jobs
by MuffinFlavored 807 days ago
> I just have a git repo with a branch for every machine.

Aren't you supposed to "not" commit secrets/sensitive values to git repos as "best practice"?

3 comments

I guess it's a private repo...
For many dotfile configs such as text editors, aliases or else not involving security, I personally don't care if it's public. Take this example https://github.com/AzogMugen/shortcuts-config/tree/master/ho...
Where does their comment indicate they commit secrets?
Perhaps SSH/GPG private keys are .gitignored?
I protect my ssh keys with passphrases, and then load the keys using ssh-add.