1. 首先需要在GitHub上注册账号,新建一个仓库
    idea集成GitHub环境

  2. 创建好后你就会得到一个仓库的地址
    idea集成GitHub环境

  3. 在idea中找到setting,然后根据图片的步骤操作(不要忘记点击apply按钮啊!!!)
    idea集成GitHub环境

  4. 在GitHub选项卡中设置自己的GitHub账号信息,idea集成GitHub环境

  5. 在idea的工具栏中找到版本控制按钮,为羡慕创建一个本地仓库,用来存放我们的代码idea集成GitHub环境
    idea集成GitHub环境

  6. 创建完毕后就会看到idea中的文件会变成红色

  7. 接下来,在你想要上传的文件上右键>Git>Add:idea集成GitHub环境
    添加完成后文件就会变成大家喜欢的颜色了
    idea集成GitHub环境

  8. 然后右键>Git>Commint File…idea集成GitHub环境
    idea集成GitHub环境

  9. 继续右键>Git>Repository>Push…
    idea集成GitHub环境
    idea集成GitHub环境
    就是这个地址idea集成GitHub环境
    然后写一些描述:idea集成GitHub环境

相关文章:

  • 2021-12-19
  • 2021-07-17
  • 2021-10-26
  • 2021-04-26
  • 2021-10-16
  • 2021-07-21
  • 2021-07-23
猜你喜欢
  • 2021-11-02
  • 2021-09-15
  • 2022-01-17
  • 2021-04-23
  • 2022-02-04
  • 2021-04-19
  • 2021-06-26
相关资源
相似解决方案