# Resolving: Push declined due to email privacy restrictions

When you get:

...
remote: error: GH007: Your push would publish a private email address.
...

You do this!

git config --global user.email "YOUR_EMAIL_ADDRESS_HERE@users.noreply.github.com"
git rebase -i
git commit --amend --reset-author
git rebase --continue
git push