搜索
您的当前位置:首页正文

android 上传项目到GitHub 遇到的坑

来源:知库网

一、Can't finish GitHub sharing process

Successfully created project 'Demo' on GitHub, but initial commit failed:

这个大概意思是git没有配置用户邮箱  所以我们找到git安装的地方,然后点击

点击我标出的位置

然后弹出对话框   然后输入一下内容并且运行(把汉字换成你对应的账户和用户名就可以了,引号还得带着)

git config --global user.email"你的邮箱"  

git config --global user.name"你的用户名"

二、usage: git remote add [ ] -f, --fetch fetch the remote branches --tags import all tags and associated objects when fetching or do not fetch any tag at all (--no-tags) -t, --track branch(es) to track -m, --master master branch --mirror[= ] set up remote as a mirror to push to or fetch from during executing git "D:\Program Files\Git\bin\git.exe" -c core.quotepath=false remote add "" 

百度没有搜到==

Top