1. Summary
I want to push to GitHub content of my Packages/User
folder.
Problem — in some .sublime-settings
files I have passwords and tokens. I don’t want push them.
Is any method for solve this problem?
2. Example of expected behavior
Templates mechanism as in Grunt:
User/SashaPackage.sublime-settings
file.
{
"password": "<%= passwords.sashapackage.password %>"
}
User/Passwords.yaml
:
sashapackage:
- password: myexamplepassword
User/.gitignore
Passwords.yaml
Results:
-
User/SashaPackage.sublime-settings
file works for local environment, - Passwords stored in
User/Passwords.yaml
, - I can push
User/SashaPackage.sublime-settings
, ifUser/Passwords.yaml
was ignored.
Is it possible something like that?
3. Do not offer
- Please, do not offer don’t push files with passwords and tokens. In addition to passwords and tokens they can have settings that are of interest to other users.
Thanks.