天天看點

如何在Idea送出代碼到Github上

一,配置賬戶

1. Setting >> Version Control >> git,配置git的安裝目錄(一般預設識别),其他參數不變

如何在Idea送出代碼到Github上

2.配置GitHub賬戶,輸入GitHub賬戶/密碼

如何在Idea送出代碼到Github上

 二,送出代碼到Github

1.CVS >> import into version control >> share project on github(用于第一次送出到GitHub)

如何在Idea送出代碼到Github上

 2.new repository name 不存在Github中。

.

如何在Idea送出代碼到Github上

3.檢查需要送出的内容

如何在Idea送出代碼到Github上

3. Github頁面顯示

如何在Idea送出代碼到Github上

4.新修改的代碼送出

選擇 version contro,顯示需要送出的代碼l

如何在Idea送出代碼到Github上

5.框選代碼,右擊commit,選擇commit and push,輸入comment,按提示送出完成。

如何在Idea送出代碼到Github上

轉載于:https://www.cnblogs.com/asunwei/p/9533424.html