名稱上傳 eclipse專案至git

(只有上傳而已,本文沒寫到下載)

下載看這邊https://ihower.tw/blog/archives/2620

1. 在官網開戶並建立git專案

2.取得url

範例為: https://github.com/aerinSie/test.git

3.在eclipse建立git專案

至eclipse>左欄專案>>雙擊>>Team>Share Project

打勾> finish>就建立完成了

4.在eclipse上傳git專案

對專案雙擊>team>commit

編輯檔案版本資訊

a.將unstaged畫面拖拉staged

b.commit message要填寫

c.commit and push

d.填寫GIT對應的URI

e.填寫GIT帳密

5.在git hub可以找到專案的內容囉

下載專案到不同台電腦

  1. 若兩台的java jre不一樣的話

可能會造成編譯問題(如String cannot be resolved to a type)

解法 http://eoffice.im.fju.edu.tw/phpbb/viewtopic.php?t=6249

懶人法: 專案右鍵>build path>configure path>EDIT到你的 jre

results matching ""

    No results matching ""