Home / Blog / Post
Get The Date Of A Commit In Git
Added on 02nd April 2019 in Snippet

Using the CLI interface to get the date and time of a git commit.

git show -s --format=%ci commithash

Hi there, I am christopher shaw, a software developer form South Yorkshire, England.

I love tinkering with all things tech, and opened this website as a web presence for myself and a place to keep my notes and snippets. Hopefully you will find something here to help

Christopher Shaw