如:查看当前分支创建的时间(如查看V1.5.3分支创建时间)
1.执行
git reflog show --date=iso V1.5.3
2.得到日志如下:
5b63658 V1.5.3@{2017-02-22 15:04:48 +0800}: commit: 新手引导
c8b74ca V1.5.3@{2017-02-22 11:06:31 +0800}: commit: 新的打开后门和打开新手引导机制
5a5a076 V1.5.3@{2017-02-22 09:54:08 +0800}: commit: mac下才关闭新手引导
439a1ae V1.5.3@{2017-02-21 17:26:46 +0800}: cherry-pick: 渠道推广logo
51c2a88 V1.5.3@{2017-02-21 12:09:45 +0800}: pull: Fast-forward
2e27536 V1.5.3@{2017-02-20 16:56:02 +0800}: commit (merge): 合并ServerType
a0db49c V1.5.3@{2017-02-20 16:54:01 +0800}: pull: Fast-forward
8a5da3e V1.5.3@{2017-02-16 11:26:31 +0800}: branch: Created from HEAD
由于最后一句:
8a5da3e V1.5.3@{2017-02-16 11:26:31 +0800}: branch: Created from HEAD
可以判断出来,该V1.5.3分支创建于2017-02-16 11:26:31
网友评论