Skip to content

Commit aab0e1c

Browse files
Wind2esgnetworm
authored andcommitted
填补了"Git工具"一节中,"祖先引用 Ancestry References "部分之前缺失的TIP部分 Think of reflog as...
1 parent 9ce159b commit aab0e1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/07-git-tools/sections/revision-selection.asc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ Date: Thu Dec 11 15:08:43 2008 -0800
174174
其他人拷贝的仓库里的引用日志不会和你的相同;而你新克隆一个仓库的时候,引用日志是空的,因为你在仓库里还没有操作。
175175
`git show HEAD@{2.months.ago}` 这条命令只有在你克隆了一个项目至少两个月时才会有用——如果你是五分钟前克隆的仓库,那么它将不会有结果返回。
176176

177+
[TIP]
178+
.将引用日志想作 Git 版的 shell 历史记录
179+
====
180+
如果你有 UNIX 或者 Linux 的背景,你不妨将引用日志想作 Git 版的 shell 历史记录,重点在于仅与你和你的会话相关,而与他人无关。
181+
====
182+
177183
==== 祖先引用
178184

179185
祖先引用是另一种指明一个提交的方式。

0 commit comments

Comments
 (0)