idea2018整合git提交代码到github仓库

  1. 在git创建仓库

  2. 复制刚刚创建好的仓库路径:clone with https

  3. 然后打开idea如下图:
    idea2018整合git提交代码到github仓库idea2018整合git提交代码到github仓库

  4. 愉快编码和配置过程

  5. 提交git项目注意事项:只提交pom依赖,java源代码,配置文件,其他的一律不提交到git仓库,否则在团队合作开发的容易引起报错问题;如下图类似文件不能提交,这是合作开发的禁忌;
    idea2018整合git提交代码到github仓库

  6. 修改或者新增文件后需要添加到本地仓库
    idea2018整合git提交代码到github仓库

  7. 同步文件到本地仓库
    idea2018整合git提交代码到github仓库

  8. 点击push,这里可以最后在检查一遍要提交的文件,无误后在点击push提交并且合并仓库,
    idea2018整合git提交代码到github仓库

相关文章:

  • 2021-11-20
  • 2021-12-21
  • 2022-12-23
  • 2022-02-01
  • 2022-01-29
  • 2021-08-05
  • 2021-12-02
猜你喜欢
  • 2022-02-12
  • 2021-07-27
  • 2021-10-20
  • 2022-12-23
  • 2022-02-08
  • 2021-06-27
相关资源
相似解决方案