IDEA Git 使用说明

idea (23) 2023-03-24 22:20

大家好,我是编程小6,很高兴遇见你,有问题可以及时留言哦。

Git 下载

Git 配置

$ git config --global user.name "梁惠涌"
$ git config --global user.email “lianghuiyong@outlook.com”

Git 需了解点

1、远程仓库

2、本地仓库

3、分支

4、节点

《Git - 简易指南》

《Pro Git》第二版(简体中文版)

编译器与插件

1、IDEA编辑器

2、ignore插件使用

1、新建项目提交到GitHub仓库

IDEA Git 使用说明_https://bianchenghao6.com/blog_idea_第1张

[观看视频]

2、新建分支

IDEA Git 使用说明_https://bianchenghao6.com/blog_idea_第2张

[观看视频]

3、合并分支

IDEA Git 使用说明_https://bianchenghao6.com/blog_idea_第3张

[观看视频]

4、回滚节点

(mixed)参数说明:

--mixed是reset的默认参数。

它将重置index和HEAD回滚到指定节点的状态。本地文件内容不会发生改变,需要修改后commit push 一次!

由于gif图片过大,请[观看视频] 或者访问 [GitHub] 

5、删除分支

IDEA Git 使用说明_https://bianchenghao6.com/blog_idea_第4张

GitHub文章地址

发表回复