【IDEA】IntelliJ IDEA中进行Git版本控制

本篇文章主要记录一下自己在IntelliJ IDEA上使用git的操作,一个新项目如何使用git进行版本控制。文章使用的IDEA版本 IntelliJ IDEA Community Edition 2023.3,远程仓库为https://gitee.com/
1.配置Git(File>Settings)

2.去Gitee创建项目仓库

3.初始化项目并连接远程服务器

git init
git remote add gitee https://gitee.com/Cacho/java-lesson.git

4. Fetch all Remote

5. Add + Commit Directory

6. Push

相关推荐

  1. 使用Git进行版本控制

    2023-12-11 10:38:02       32 阅读
  2. 如何使用版本控制工具(如Git进行代码管理?

    2023-12-11 10:38:02       57 阅读
  3. Linux下如何使用Git进行版本控制

    2023-12-11 10:38:02       23 阅读
  4. [Git版本控制系统]

    2023-12-11 10:38:02       50 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-11 10:38:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-11 10:38:02       100 阅读
  3. 在Django里面运行非项目文件

    2023-12-11 10:38:02       82 阅读
  4. Python语言-面向对象

    2023-12-11 10:38:02       91 阅读

热门阅读

  1. nginx

    nginx

    2023-12-11 10:38:02      39 阅读
  2. OVS主线流程

    2023-12-11 10:38:02       55 阅读
  3. 4-Docker命令之docker commit

    2023-12-11 10:38:02       44 阅读
  4. shell语言中expect交互

    2023-12-11 10:38:02       54 阅读
  5. 飞天使-rsync大文件断点续传与vim批量删除

    2023-12-11 10:38:02       50 阅读
  6. 文本预处理(text preprocess)总结

    2023-12-11 10:38:02       54 阅读
  7. 命运天注定?

    2023-12-11 10:38:02       56 阅读
  8. 为一个文件夹中的所有文件名前添加前缀

    2023-12-11 10:38:02       48 阅读
  9. 正确使用React组件缓存

    2023-12-11 10:38:02       63 阅读
  10. element-ui按钮el-button,点击之后恢复之前的颜色

    2023-12-11 10:38:02       53 阅读
  11. Go Fyne 入门

    2023-12-11 10:38:02       66 阅读