Add in your repo:
- a template of it (
- a script able to generate a proper config file
secret_token.rbbased on local data found on the server (like an encrypted file with the secret value ready to be decoded and put in the
From there, add a git attribute custom driver:
The script referenced above will be your ‘
smudge‘ script which will, on checkout of the working tree, generate automatically the right file.