1. 將eclipse中的項目托管到coding.net上,在coding.net上創建項目
在github上的操作是一樣的,github上有兩類項目, https, ssh(需要配置秘鑰)
2. 在eclipse上配置git的user.name和user.email

3. 在eclipse中創建項目, team->share project

在當前工程目錄下創建本地庫,該步操作完成后,在當前工程目錄下,會生成.git文件夾

將工程同步到暫存庫stage/index

將stage代碼提交到分支,填寫commit信息

push到遠程服務器, team-> push branch master, 填寫URI和user, password

查看遠程服務器代碼
4. 其他同事從遠程服務器上下載代碼
Import Projects from Git






修改代碼后,team-> add to index, team-> commit, team->push