DEV Community

irishgeoff22
irishgeoff22

Posted on

Protect your email address on your github profile page

GitHub allows you to control the visibility of your email address on your GitHub profile page. Here's how you can protect your email address:

  1. Set your email address to private:

    • By default, GitHub offers options to set your email address to "Public" or "Private." To protect your email, ensure that your email address is set to "Private" in your GitHub settings. This will prevent your email address from being displayed on your GitHub profile page.
  2. Use a noreply email address:

    • GitHub provides a noreply email address in the format username@users.noreply.github.com. You can use this noreply address for your commits and interactions on GitHub without revealing your actual email address.
  3. Remove email from your profile:

    • If you don't want your email address associated with your GitHub profile at all, you can remove it from your profile settings. Just go to your GitHub profile, click on "Edit profile," and remove your email address.
  4. Use a contact form or other means of contact:

  5. Be cautious about sharing it in issues or comments:

    • When interacting with others on GitHub through issues, pull requests, or comments, be careful about sharing your email address. Information shared in these public discussions can be viewed by anyone with access to the repository. Consider using GitHub's messaging or other private communication channels for more sensitive discussions.

By following these steps, you can protect your email address on your GitHub profile page and maintain your online privacy.

Top comments (0)