Git is failing to push a change for one file. Working remotely at a command prompt, I did the following (abbreviated steps):
- clone our team's main repo
- git checkout chuck (this is my existing branch)
- started editing a file
- git add file_name (maybe I didn't need this because it's existing)
- git commit -m "some comment"
But now when I want to push the change, I get
remote: error: GH007: Your push would publish a private email address. remote: You can make your email public or disable this protection by visiting: remote: http://github.com/settings/emails To https://github.com/my_company/our_repo/ ! [remote rejected] chuck -> chuck (push declined due to email privacy restrictions) I looked at the web Github email settings. They are set to private, which is why it happens. But I'm not clear how to get past it.