Hacker News new | ask | show | jobs
by scaryclam 3410 days ago
What I mean is, lots of folks seem to be saying to ignore the presence of the file and just change the password where it's used.

Removing the file, or the password and adding a comment, as well as changing the password where it's used is much less likely to end up with a re-added password later.

Of course, removing the file, adding it to .gitignore and changing the password makes it even harder as a contributor would have to work to add the password back, which is even less likely to happen.

1 comments

Oh sorry I tought you were saying to remove it from VCS history (as said many times in the thread). I totally agree you.