Answer the question
In order to leave comments, you need to log in
How to add configuration files to git?
Hello. The question is the following. I have a file with an array of configurations. I want to add a list of keys there that can be configured, and the values will be substituted individually for each site.
I need to add a file to git with keys but no values, commit, and then make sure that this file is no longer tracked.
Can you please tell me what sequence of commands will allow me to do this?
Answer the question
In order to leave comments, you need to log in
make a separate file. For example, for a .config file, make .config.default . In general, you can just make a configurator
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question