I know how to retrieve the last modification date of a single file in a Git repository:
git log -1 --format="%ad" -- path/to/file
Is there a simple and efficient way to do the same for all the files currently present in the repository?
git
I know how to retrieve the last modification date of a single file in a Git repository:
git log -1 --format="%ad" -- path/to/file
Is there a simple and efficient way to do the same for all the files currently present in the repository?
Best Answer
A simple answer would be to iterate through each file and display its modification time, i.e.:
This will yield output like so:
Obviously, you can control this since its just a bash script at this point--so feel free to customize to your heart's content!