Is there a way to only make some of my email visible? #59731
Replies: 29 comments 18 replies
-
|
Yeah, go to settings and there you can set your public email |
Beta Was this translation helpful? Give feedback.
-
|
I would like to do exactly the same thing. I want to keep my primary email fully private, and be able to post a secondary email on my public profile. The only temporary solution I can think of is to just write my secondary email in my bio. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
I want to keep my personal email address confidential when committing to a public repository, but I want to commit to a private repository managed by an organization with the organization's email address. |
Beta Was this translation helpful? Give feedback.
-
|
Bump! I want this feature! |
Beta Was this translation helpful? Give feedback.
-
|
I have the same question. I want to only be able to push commits with my public email and keep my primary email address private (and block commit pushes that use it). But currently it's not possible. This is an important feature because GitHub has a bug where if a maintainer chooses to squash your commits while merging a pull request, GitHub will generate a commit associated with your PRIMARY email instead of the PUBLIC email that you used to make the actual commits that make up the PR. I was told by GitHub support that this is the expected behavior... |
Beta Was this translation helpful? Give feedback.
-
|
Bump I want this feature, I want my custom email to be able to show on my profile but have the other one protected from commits |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
This must be a feature request discussion, I'd love this feature |
Beta Was this translation helpful? Give feedback.
-
|
Besides work email requirement mentioned above, some repos also introduce contribution guideline that forbids the use of noreply (aka. private) email, such feature would be very helpful in such cases. Alternatively (but maybe more difficult to implement), it would be better if I'm allowed to push commits with selected email in selected repos (instead of a master switch). |
Beta Was this translation helpful? Give feedback.
-
|
Okay, I think I discovered the preferred way to do this: Just register 1 account for each of your email, then use account switcher 👈🤣 |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, It would be awesome to do this, especially when you are a member of multiple organizations. As others, I am not OK with disabling the push protection... |
Beta Was this translation helpful? Give feedback.
-
|
2025 I want to have one of my emails exposed without push protection while keeping other emails private with push protection. |
Beta Was this translation helpful? Give feedback.
-
|
bump |
Beta Was this translation helpful? Give feedback.
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Does anyone know a way to do this? I haven't added an email to my profile for 3 years because of this. |
Beta Was this translation helpful? Give feedback.
-
|
There's no direct way of doing this atm. The only workaround I found was using the URL field and redirect to a mailto address.
Only downside is losing the URL field. However, combining it with your personal domain/org will keep it professional and clean. Check out my profile and see for yourselves :) |
Beta Was this translation helpful? Give feedback.
-
|
bumb +1 |
Beta Was this translation helpful? Give feedback.
-
|
I had always assumed private settings for emails were per-organization. This was very surprising to find out, and it is essentially saying that if an organization requires work emails in commits (and not no-reply), you'd automatically have to make your own personal email public as well. |
Beta Was this translation helpful? Give feedback.
-
|
bump +1 |
Beta Was this translation helpful? Give feedback.
-
|
Is there a way to do this now? Or is this still not a feature? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
It's been a year since the request was submitted, is it going to be a feature anytime soon? |
Beta Was this translation helpful? Give feedback.
-
|
Bumpo+1 |
Beta Was this translation helpful? Give feedback.
-
|
Bump +1. Really cumbersome when juggling security, org-level repos and privacy. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Hey Github, if you want you can give me an interview and I'll show you how I plan to tackle this 😊
|
Beta Was this translation helpful? Give feedback.
-
|
Bump +1. Really a challenging time when juggling corporate and personal emails across Organizations, personal repos, etc... |
Beta Was this translation helpful? Give feedback.
-
|
Bump +1 |
Beta Was this translation helpful? Give feedback.







Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I have several emails, one for personal use and one for work. I want to expose the work email to public and use it for commits, while keep other emails private, disabling accidental push made with these email. I still want these emails to be with my account because I want to get recovery emails.
Now it appears to me that I either enable privacy and make all of them invisible, or disable email privacy and make all of them visible. Is there any way to make only one of them visible but not others?
Beta Was this translation helpful? Give feedback.
All reactions