Comments
2 comments
-
Hi @JoshB
Have you had a look at the following page? https://stackoverflow.com/questions/43863522/error-your-push-would-publish-a-private-email-address -
Thanks. That seems to have fixed the issue. I had tried using the noreply email. I think where I got stuck is that I already had a local commit while I had GH set to use my public email. Doing the amend to change the previous commit before doing the fix, and using the noreply email for future commits got around the error.
Add comment
Please sign in to leave a comment.
I'm able to use GitHub with a dozen other repos in our account without issue. But when I try to seed our GitHub repo for objects in our SQL Server, I receive this error:
remote: error: GH007: Your push would publish a private email address.
If I turn off "Block command line pushes that expose my email", I don't receive this error. But I can't tell why it would be adding my private email to any push, or why this push would warn me, but not other GH pushes in other repos tied to the same GH user name and email address.