Use GitHub for Windows and VSCode
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
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
File, options
git
Set your name and email address to your public address
Third, you can use your command line to update the remote
Using GitHub Desktop, open a new command prompt:
2. You can then use git rebase or git commit --amend -s ... to fix things up as needed. You'll probably need to do a git push --force-with-lease or similar.
Related articles