upvote
> So, it's not necessarily "public", it's simply in the repository, and whether it's actually public or not depends on the repository settings.

Even then, you might not want every developer in your company to have the password to the production SQL database...

reply
Not a single developer should use or operate on production database. First of all, your code should be tested well enough not to ever need that for debug, and your user interface should offer enough to manipulate the data. Second, if you will ever need to see the db, have an automated process with break-glass account to get a snapshot.
reply
Thanks, fair point. Our 1,122 files are all in public repos. In a private repo, only people with access can read it, but "don't ask again" still writes the password into a project file that gets committed, so it spreads with every clone and fork, and goes public if the repo does.
reply