K
K
Konstantin Prudnikov2017-03-08 23:54:04
MySQL
Konstantin Prudnikov, 2017-03-08 23:54:04

phpstorm, github. How to upload files hiding passwords?

1. Tell me who implements how to upload (commit) files from PhpStorm to GitHub so that passwords do not glow. Interested in the simplest and most reliable options. That is, in almost every project there is a connection and access to the database, as a rule, these data (passwords) are in a single file. How can I avoid pushing them to GitHub?
2. Also interested in the least time-consuming implementations of pouring (and commits) on GitHub. Now I use a keyboard shortcut for this, but I would like to have another way, for example, automatically at set intervals, if changes in the project were detected by version control
In general, I will be grateful for advice or links to similar recommendations and techniques

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dmitriy, 2017-03-09
@dmitriylanets

vlucas/phpdotenv - Using local variables outside of storage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question