此次使用github託管代碼並無下載客戶端git for windows,而是使用eclipse裏面自帶的git上傳了hello world這個項目,步驟以下:git
1.首先建立項目:file->new->other->andriod->andriod application projectgithub
而後一直next,知道finish,一個新的項目就建好了。windows
2.右鍵項目->Team->share project->create repsoitory->finishapp
3.右擊項目->team->commit->select all->commiteclipse
4.右鍵項目->team->remote->push(ps:URI是本身建立的倉庫地址)3d
5.選擇主分支(master[branch])->add spec->finish,就上傳成功了blog
倉庫地址:https://github.com/autocs/taciturn-octo-fibula.gitip
這個上傳方式是基於eclipse裏帶有git纔可行,因此並非很方便,後面本身也會下載軟件,讓上傳代碼變得更加方便。ci