这次使用github托管代码并没有下载客户端git for windows,而是使用eclipse里面自带的git上传了hello world这个项目,步骤如下:
1.首先创建项目:file->new->other->andriod->andriod application project
然后一直next,知道finish,一个新的项目就建好了。
2.右键项目->Team->share project->create repsoitory->finish
3.右击项目->team->commit->select all->commit
4.右键项目->team->remote->push(ps:URI是自己创建的仓库地址)
5.选择主分支(master[branch])->add spec->finish,就上传成功了
仓库地址:https://github.com/autocs/taciturn-octo-fibula.git
这个上传方式是基于eclipse里带有git才可行,所以并不是很方便,后面自己也会下载软件,让上传代码变得更加方便。