初学git,在使android studio向github上传代码时遇到如下问题,
Can’t finish GitHub sharing process
Successfully created project ‘GitHubDemo’ 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 ) not allowed during executing git -c core.quotepath=false commit -m “Initial commit xxx” –
在经过一番查找之后终于找到解决方法:
setting--->Version Control ---->Github 将Clone git repositories using ssh 这一项去掉