1、首先要下载配置Git,在IDEA里面Setting—>Git—>Test进行测试

IDEA上传项目到github

2、在IDEA中配置自己的github账号,在IDEA里面Setting—>Github中添加账号

IDEA上传项目到github

3、创建本地仓库,项目文件都会变成变成红色,在IDEA里面VCS—>Import—>Create

IDEA上传项目到github

4、选择自己项目的路径,然后点击“OK”

IDEA上传项目到github

5、上传项目到暂存区,项目文件会变成绿色,在项目路径右键—>Git—>Add

IDEA上传项目到github

6、进行备注Commit

IDEA上传项目到github

7、成功将项目上传到github,Share Project on Github

IDEA上传项目到github

相关文章:

  • 2021-10-25
  • 2021-08-04
  • 2021-07-04
  • 2022-02-16
猜你喜欢
  • 2022-12-23
  • 2021-05-22
  • 2021-05-31
  • 2021-08-27
  • 2021-09-09
相关资源
相似解决方案