目录
一. 问题
今天看到一篇文章,突然有个我以前从未用到过的方式,简单记录下来;
二. 记录
2.1. 范围表示法
# 两点表示法
$ gitk HEAD.. FETCH_HEAD
# 三点表示法
$ gitk HEAD... FETCH_HEAD
区别:
1. 两点表示法,表示本地节点与远程最新节点(All)区间,All:[local_head -> fetch_head]
2. 三点表示法,比较本地节点与远程最新节点(Diff)区间,Diff:[local_head -> fetch_head]
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
(完)