So I'm fine with the source code to my files being public, but I obviously don't want my passwords/login info/etc to be public.
How can I host the repo with GitHub publicly but keep myself safe?
githubversion control
So I'm fine with the source code to my files being public, but I obviously don't want my passwords/login info/etc to be public.
How can I host the repo with GitHub publicly but keep myself safe?
Best Answer
Generally, all config data like passwords and database info will be kept in a config file. To keep private data safe, I usually:
.gitignore
so that it is not a tracked fileThose are my thoughts ...