Meaning of the GitHub message: push declined due to email privacy restrictions

前端 未结 6 499
终归单人心
终归单人心 2021-01-29 16:56

I have accepted and merged a pull request on GitHub, and now I cannot pull my commits any more.

The message is:

! [remote rejected] master -> master (pu         


        
6条回答
  •  执笔经年
    2021-01-29 17:52

    I solved the errors by:

    git config --global user.email ""

    This just sets my email to blank (an empty string). I now set my email in individual projects with:

    git config user.email "myemail@domain.com"

提交回复
热议问题