I noticed that in my commits to github there is my email address.
I couldn't find this email address appear anywhere on github, but I was wondering if it could appear anywhere and be crawled by bots for spam?
If so, is that possible to remove the email address and not have it in the commits anymore?
Note: the project is open and public on github (not private repository)
Yes, your email address (as specified in git config user. email ) will be visible in web interfaces like GitWeb.
Github Settings:Go to Your Profile -> Emails and enable these options: Keep my email addresses private. Block command line pushes that expose my email.
The git commit --amend --reset-author --no-edit command is especially useful if you created commits with the wrong author information, then set the correct author after-the-fact via git config .
Anyone who clones the git repository will be able to see the email address you made the commit with.
If you add .patch
to any commit URL you will see the raw commit data (including the commiter's email). For example: https://github.com/kennethreitz/requests/commit/c8f166f696327d.patch
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With