Git commit date Ask Question

Git commit date Ask Question

Other than parsing git log for the date string, is there a Git native way to report the date of a certain commit?

ベストアンサー1

The show command may be what you want. Try

git show --no-patch --format=%ci <commit>

Other formats for the date string are available as well. Check the manual page for details.

おすすめ記事