Android studio share project on git Can't finish GitHub sharing process Please tell me who you are.

今天将自己练习的一个demo通过Android studio share on github,出现了问题

Can't finish GitHub sharing process Please tell me who you are.

首先切到git的bin目录下 运行

git config --global user.email "you@example.com"  

git config --global user.name "Your Name"

git commit

出现问题:

fatal: Not a git repository (or any of the parent directories): .git

git init

完整的解决过程:书序执行如下命令

git init

git config --global user.email "you@example.com"  

git config --global user.name "Your Name"

git commit

上面的方法配置的是全局的用户名和邮箱!就是说如果没有单独为项目配置,那提交的所有项目全部都是这个名字和邮箱!不管是公司项目还是github,还是码云!



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值