adnroid studio 提交项目到 github

700 阅读1分钟

1、配置git(这里要选择自己的安装路径噢)

2、点击test按钮,弹出successful说明配置成功

3、配置GitHub账号信息并点击test测试账号配置。出现Success提示框说明成功

4、选择版本控制工具Git(VCS-->Enable Version Control Integration)

5、上传

首次上传会提示错误信息

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” –

我的解决办法是,再次重复第5步上传

附上网上的结局办法:http://blog.csdn.net/baidu_17313961/article/details/52068846