If you have submitted a pull request and had a DCO error, this is one way to fix it.
Step-by-step guide
First, change your GitHub settings
- Go to the "email" settings page
- If "Keep my email addresses private" is checked, uncheck it.
- Make sure your Primary email address is valid and has been verified
Second, change your GitHub Desktop for Windows settings
- settings
- choose
Third, you can use your command line to update the remote
- git commit --amend -s
Related articles