If I run git config --global user.email
I get:
16969914+jamesray1@users.noreply.github.com
.
Then if I run git push
with "Block command line pushes that expose my email" ticked in my Github email settings, it doesn't work, with
error: GH007: Your push would publish a private email address.
in the output.
I can't add this email address to Github because it already added (I get an error informing me of that if I try).
If I untick "Block command line pushes that expose my email", then git push
works.
I've read these articles:
- https://help.github.com/articles/setting-your-commit-email-address-in-git/
- https://help.github.com/articles/about-commit-email-addresses/
- https://help.github.com/articles/setting-your-commit-email-address-on-github/ -
I sent a message to Github support, but if anyone has any ideas, feel free to answer.