baoxituo1 / support-tools

Automatically exported from code.google.com/p/support-tools
Apache License 2.0
0 stars 0 forks source link

Don't expose email addresses to the public as committer name #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
People value their privacy. Many people never opted in to a scheme where the 
full email address is exposed. Your migration to GitHub simply exposes all of 
this email address.

Where can anyone have their email address REMOVED and replaced with some text?

Original issue reported on code.google.com by googleco...@yahoo.co.uk on 30 Mar 2015 at 1:56

GoogleCodeExporter commented 9 years ago
Depending on which version control system you use, your email address is 
actually embedded in the repository itself. We don't do any extra logic to 
expose your email address as part of the export. In fact, when we export issues 
we intentionally _don't_ unobfuscate email addresses.

To purge the email address from your exported GitHub repo:
(1) Update your git settings to ensure you aren't setting an email address. (I 
do not know for sure, but it might be possible to commit to GitHub using GitHub 
account X, but have your local git settings use email address Y, where Y is 
not-an-address@email.c.) See 
[http://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration this doc].
(2) It is possible in Git to "rewrite history" so you can remap all of those 
commits to having occurred from a different committer. I don't know how to do 
this for replacing author information, but it should be doable. I'd recommend 
you [https://help.github.com/articles/remove-sensitive-data/ start here].

Sorry that this seemed like a surprise to you.

Original comment by chrsm...@google.com on 30 Mar 2015 at 3:38