天天看點

送出eclipse項目至git

配置項目

    右鍵項目->team->share project

    勾選Use or create repository in parent folder of project

    點選Create Repository,finish

為建立項目添加index

    右鍵項目->team->add to index

    無需送出的檔案通過右鍵->team->remove from index移除

送出項目至本地倉庫

    去掉window->preference->team->git->committing勾選

    右鍵項目->team->commit

将本地代碼送出至github

    右鍵項目->team->remote->push

    輸入git位址及登陸憑證

    點選next->source ref和destination ref下拉框中選擇master->點選add spec->點選next

git