Error "Your push would publish a private email address"
git, github
Solution
Warning: This will expose your email address! Each commit includes the email address of the committer and for public repositories, this information is publicly available.
--
I experienced the same `error: GH007` message as well and used the following to resolve the issue.
- Go to Setting your commit email address.
- Follow the Setting your email address for every repository on your computer.
- Open your GitHub account, and go to Settings → Emails.
- Select the Keep my email address private check box.
- Unselect the Block command line pushes that expose my email check box.
Problem
I'm very new to GitHub/VCS. When I try to share my project on GitHub, I get the following error message. ``` Can't finish GitHub sharing process Successfully created project 'myproject' on GitHub, but initial push failed: remote: error: GH007: Your push would publish a private email address. failed to push some refs to 'https://github.com/me/myproject.git' ``` I've googled the error message and got no hits. I've also searched Stack Exchange, but no cigar. How can I solve this issue?