將遠端專案與eclipse建立連結


先在eclipse中建立同名專案
再進入此專案資料夾中執行
git init
初始化後
再執行
git pull git位置(http://...git)
下載遠端的資料與專案合併


再於別的位置利用
git clone git位置(http://...git)
下載完整的遠端專案後
執行
git config --global core.editor gedit   # 設定gedit為git-config的editor
再執行
git config -e # 用editor開啟
複製內容後


於eclipse專案下一樣執行
git config -e
將之前複製的內容貼上
就可以執行git pull與遠端專案進行同步更新的動作了

arrow
arrow
    全站熱搜

    狼翔月影 發表在 痞客邦 留言(0) 人氣()