Skip to content

What does "private" email address mean in context of GitHub web and Git commands? #22762

Answered by lee-dohm
lusrx asked this question in New to GitHub
Discussion options

You must be logged in to vote

Great questions 😀

What is “private” in this context?

A is the “private” email, in other words, the email that you don’t want exposed publicly.

Does this mean that if user.email in Git config file is set to A I will not be able to push to the repo on GitHub?

Yes, that’s correct.

In other words, if “Block command line pushes …” is set, I need to make sure that my Git config uses email B to ensure I can still push to the repo on GitHub?

Yes, that’s correct.

Also, when I check “Keep my email addresses private”, does this mean that the GitHub noreply email address (B) will be used when using GitHub web interface?

Yes, that’s correct.

When using GitHub web interface, where are these em…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants