Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wizo06/ca293a80e58f9aaf3b6cdb0ca3e4f73d to your computer and use it in GitHub Desktop.
Save wizo06/ca293a80e58f9aaf3b6cdb0ca3e4f73d to your computer and use it in GitHub Desktop.
If you made some commits with a privated email and THEN changed git's email, you will still get the error. Follow these steps to fix the error.
git config --global user.email "526473+gb96@users.noreply.github.com"
git rebase -i
git commit --amend --reset-author
git rebase --continue
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment