From a security standpoint (specifically preventing email scraping), what is the best practice for email addresses in source code specifically intended for distribution on sites such as GitHub? As an example, PHPDoc syntax for the author element includes the author's email address in plain text.
Asked
Active
Viewed 538 times
1 Answers
4
You can use a private GitHub email address: see "Keeping your email address private", using your GitHub account Email settings, at least for the commits (as I mentioned in "Does Git publicly expose my e-mail address?"):
git config --global user.email "username@users.noreply.github.com"
But for the content of those commits, there isn't much solution except making sure to use a custom email address dedicated for that work.
-
1Thanks for confirming my thoughts. – Nilpo Sep 21 '14 at 07:17