Git提交日期 [英] Git commit date
本文介绍了Git提交日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
显示
命令可能是您想要的。尝试
git show -s --format =%ci< commit>
日期字符串的其他格式也可以使用。查看手册页获取
的详细信息。
Other than parsing git log for the date string, is there a Git native way to report the date of a certain commit?
解决方案
The show command may be what you want. Try
git show -s --format=%ci <commit>
Other formats for the date string are available as well. Check the man page for details.
这篇关于Git提交日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文