eclipse git向碼雲提交項目

新建項目,編寫代碼;git

右鍵 - team- share Projectrem

建立一個本地倉庫同步

選中use or create repository in parent folder  of projectit

選中列表中的項目io

點擊 create repository - finish;ast

刷新項目(可選) - 右鍵 - team - commitdate

從unstaged changes選中要提交的文件右鍵選擇add to index密碼

輸入commit messagenext

點擊commit;項目

以上步驟是將你的項目提交到本地git倉庫;

下面講解如何將本地項目同步到遠程git倉庫;

在osc@git上建立項目 - 複製git地址;

右鍵項目 - team - remote - push

粘貼遠程git地址並輸入用戶名密碼

next - source ref選擇refs/heads/master,選中後destination中的值會被自動初始化

點擊add all branches spec

此時下面列表中會多一條選中force update

而後finish

如要增長項目說明文件,在你的工程根目錄建立一個README.md文件,編輯內容便可

相關文章
相關標籤/搜索