Github complains about private email address and cannot push

Find your email here: https://github.com/settings/emails

Get your ID here https://api.github.com/users/username

change globaly
git config –global user.email “{ID}+{username}@users.noreply.github.com”

or only the spesific local repo
git config user.email “{ID}+{username}@users.noreply.github.com”

git commit –amend –reset-author -m “message for log”
git push

ref: https://stackoverflow.com/questions/43863522/error-your-push-would-publish-a-private-email-address/51097104#51097104