Replies: 12 comments 8 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.
-
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