github 分享代码,每个人都能看到。具体操作如下:

一.注册github     https://github.com/

二.下载Git,安装

三..左上角IDEA中设置GitHub,File-->Setting->Version Control-->Git

在Path to Git executable 处选择Git安装位置    如:C:\Program Files\Git\bin\git.exe ;   点击Test   弹出  success


idea 分享项目到github

四.在IDEA中设置GitHub,File-->Setting->Version Control-->GibHub

  Host:github.com

  Token:点击Create API Token,输入在github中注册的用户名和密码生成token

  点击Test,测试是否连接成功

五.找到菜单栏 第一次提交 VCS—— import into version control——share project on GitHub

等一会登录github 可以看到存在项目

之后改动项目VCS——Git——commit directory——commit directory and fush




相关文章:

  • 2021-08-08
  • 2022-01-11
  • 2021-08-01
  • 2022-12-23
  • 2022-01-24
  • 2021-08-19
  • 2022-01-11
猜你喜欢
  • 2021-11-19
  • 2021-12-25
  • 2022-03-08
  • 2021-07-03
  • 2021-08-11
  • 2022-01-17
  • 2021-06-18
相关资源
相似解决方案