4 ms·
I've never accidentally committed a secret into any repository. When I create a file that holds secrets, first thing it either gets encrypted or goes into gitig
by tasuki 4y ago
I've never accidentally committed a secret into any repository. When I create a file that holds secrets, first thing it either gets encrypted or goes into gitignore.
What exactly is the path that leads to committing secrets, apart from utter incompetence or disregard? Do people not review what they're committing at all?
- deleted 4y ago[deleted]
- blep_ 4y agoEvery time I've done this, I've done so knowingly and intentionally, into a repository that is not public and will never be public. That last part is what makes it okay. I can only assume the kind of person who puts their dotfiles in a public github repository - or, more generally, puts things on github by default - does not have as strong a public/private distinction as I do.