目录
一. 问题
今天看到一篇文章,突然有个我以前从未用到过的方式,简单记录下来;
二. 记录
2.1. 范围操作符
Seg: 不包含A 集,且包含B 集
# 两点表示法
$ gitk A..B
2.2. 对称差操作符
Diff: 不包含A、B 共同祖先,各自A、B 集
# 三点表示法
$ gitk A...B
区别:
1. 两点表示法,Segregation 区间,(A -> B]
2. 三点表示法,Diff 区间,Diff:[A -> B]
fast-forword 模式下,两点和三点其实是一样的;
三. 参考
- https://git-scm.com/
- Git - gittutorial Documentation
- Git - giteveryday Documentation
- Git - gitglossary Documentation
- Git - user-manual Documentation
Git - gitcore-tutorial DocumentationGit - gitcli Documentation- https://git.github.io/htmldocs/git.html
- Git - git Documentation
- Git - git Documentation
- Git - git Documentation
- Git - git Documentation
- Git - git Documentation
(完)