在git reflog中,HEAD@{0}被称为什么?

在git reflog中,HEAD@{0}被称为什么?,git,Git,如果我在一个简单的存储库上重新记录我的主分支。它可能看起来像这样: 33e8ab2 master@{0}: commit: 3rd commit e054213 master@{1}: commit: 2nd commit d57537e master@{2}: commit: 1st commit bbc0c23 master@{3}: commit: initial commit 你到底把master@{n}称为什么 我最初的想法是,这是一个参考。但是引用指向一个特定的提交。它是一个相对参

如果我在一个简单的存储库上重新记录我的主分支。它可能看起来像这样:

33e8ab2 master@{0}: commit: 3rd commit
e054213 master@{1}: commit: 2nd commit
d57537e master@{2}: commit: 1st commit
bbc0c23 master@{3}: commit: initial commit
你到底把
master@{n}
称为什么

我最初的想法是,这是一个参考。但是引用指向一个特定的提交。它是一个相对参考,也就是说,相对于分支顶端的操作数

我的问题是:

对于诸如:
master{n}
HEAD{n}
master{1.day.ago}
,最具语义的术语是什么


上述三种类型的东西都是相同的吗?

git reflog--help的含义

Reflogs在各种Git命令中都很有用,可以指定旧值 推荐人的名字

例如:

  HEAD@{2} means "where HEAD used to be two moves ago", 

  master@{one.week.ago} means "where master used to point to one
  week ago in this local repository",

git reflog--help的含义

Reflogs在各种Git命令中都很有用,可以指定旧值 推荐人的名字

例如:

  HEAD@{2} means "where HEAD used to be two moves ago", 

  master@{one.week.ago} means "where master used to point to one
  week ago in this local repository",
这是其中之一。具体地说,
@{n}

它是一种。具体来说,
@{n}