在使用idea,想把项目上传到远程github的时候,
出现的错误
Can’t finish GitHub sharing process
Successfully created project ‘springboot’ on GitHub, but initial commit failed:
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name “Your Name”
to set your account’s default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident name (for <(null)>) not allowed
during executing git -c core.quotepath=false commit -m “Initial commit” –
1、在Idea中,File-Settings-Version Control-git 中,设置git安装目录
2、添加GitHub账号,File-Settings-Version Control-GitHub,