Solve the problem of PyCharm uploading code to github

Successfully created project 'lj_mysite' on GitHub, but initial commit failed: *** Please tell me who you are. Run git config --global user.email "[email protected]" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. unable to auto-detect email address (got 'admin@DESKTOP-C3OEDS9.(none)')

 

git config --global user.name "github username"

git config --global user.email "github registered mailbox"

 

 

Guess you like

Origin blog.csdn.net/weixin_48154829/article/details/106763331