如何在Idea提交代码到Github上

一,配置账户

1. Setting >> Version Control >> git,配置git的安装目录(一般默认识别),其他参数不变

2.配置GitHub账户,输入GitHub账户/密码

 

 二,提交代码到Github

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

 2.new repository name 不存在Github中。

.

3.检查需要提交的内容

3. Github页面显示

 

 

4.新修改的代码提交

选择 version contro,显示需要提交的代码l

5.框选代码,右击commit,选择commit and push,输入comment,按提示提交完成。

 

posted @ 2018-08-25 11:48  漫漫人生路322  阅读(16238)  评论(0编辑  收藏  举报