How to get git commit time a single file

How to get a git commit time and format of the file output

 

With a python implementation:

 

1, git commit time using the command line to get a file

 

2, the formatted result output

Guess you like

Origin www.cnblogs.com/sikeblogs/p/12114651.html
Recommended