Successfully created project 'yuanfudao' 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 'yanhaihang@bogon.(none)')
首先进入到你的项目目录
/Users/yanhaihang/PycharmProjects/yuanfudao
然后:不要加-global
git config user.name "github用户名"
git config user.email "github注册邮箱"