commands.sh

git utimes

all

Change files modification time to their last commit date. Does not touch files that are in the working tree or index. Part of `git-extras`.

More info →

Examples (2)

Change all files modification time to their last commit date

Change files modification time that are newer than their last commit date, preserving original modification time of files that were committed from the local repository

git utimes --newer
made by @shridhargupta | data from tldr-pages