可以使用 git reflog查看版本库中的提交(commit)记录。

git reflog

gotable版本库为例,它的git reflog显示如下:

eefc48d (HEAD -> master2.0, tag: v2.12.0, origin/master2.0, origin/HEAD) HEAD@{0}: commit: gotable 2.12
835b7a2 (tag: v2.11.0) HEAD@{1}: commit: gotable 2.11.0
e72b654 (tag: v2.10.0) HEAD@{2}: commit: gotable 2.10.0
e1ea762 (tag: v2.9.0) HEAD@{3}: commit: gotable 2.9.0 add new api AddColumn
88f196c (tag: v2.8.0) HEAD@{4}: commit: gotable 2.8.0
fb977c7 (tag: v2.7.2) HEAD@{5}: commit: gotable 2.7.2
ed20f8b (tag: v2.7.1) HEAD@{6}: commit: gotable-2.7.1 add new set API: Get
424381a (tag: v2.7) HEAD@{7}: commit: gotable 2.7 Add length API
f87c10d (tag: v2.6) HEAD@{8}: commit: [gotable] 2.6
21bd9d7 (tag: v2.5) HEAD@{9}: commit: gotable 2.5
46d11cf (tag: v2.4) HEAD@{10}: commit: gotable 2.4
913df18 HEAD@{11}: commit: 2.3.1 update README.md
681a508 HEAD@{12}: commit: gotable 2.3
a2e1480 HEAD@{13}: clone: from git@github.com:liushuochen/gotable.git
(END)

git reflog显示了每次commit提交的id(id开头的部分字符),提交对应的tag,以及提交的信息内容。

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐