I want to make a private Github repo public, but the project includes OAuth data (used in Twitter auth) and database MySQL login details.
Is there a common practise to easily hide the values or shall I just change them when committing to the repo? I guess thats the reason I’m asking as I’m likely to forget.
I want to make a private Github repo public, but the project includes OAuth
Share
If you can rewrite the history of your private repo (because of the limited number of collaborators), it would be best to:
See “What’s the easiest way to deal with project configuration files?” for instance:
The idea is, on checkout, to generate the actual files based on:
The more general idea is that sensitive data shouldn’t be stored at all in a Git repo.