I have some files in my Git repository:
...
-rw-r--r-- 1 dimti dimti 11489 мар 2 21:54 wp-settings.php
...
After executing the command
git archive --format=tar HEAD > repo.tar
I fetch my files in the tar archive, but the modify time is wrong:
-rw-r--r-- 1 dimti dimti 11115 мар 5 21:55 wp-settings.php
How can I say to Git archive - preserve the modification time on files in the tar archive?