打印提交注释标签的日期指向

时间:2016-01-03 17:36:37

标签: git

我有注释标记,这些标记是在它们指向的提交哈希之后几天创建的。

需要提交的相当打印日期,带注释的标记指向(不是已创建注释标记的日期):

顺便说一句:我只需要年月日而已。

2 个答案:

答案 0 :(得分:0)

很抱歉,我的回答是:https://stackoverflow.com/posts/29497919/revisions

[:a, :b, :c].map(&:to_s:upcase)

答案 1 :(得分:0)

git log

// you can use any of the log pretty options
git log --oneline --graph --decorate

enter image description here

git describe

tag1

git show

$ git show tag1
tag tag1
Tagger: Al Blue <alblue@example.com>
Date:   Tue Apr 20 09:00:00 2011 +0100

commit 91a2b24....
相关问题