Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
GIT-UTIMES(1)			   Git Extras			   GIT-UTIMES(1)

NAME
     git-utimes - Change files modification time to their last commit date

SYNOPSIS
     git-utimes [--newer]

DESCRIPTION
     Change  files  modification  time to their last commit date. Does not touch
     files that are in the working tree or index.

OPTIONS
     --newer

     Preserves the original modification time of files that were committed  from
     the  local repo, by only touching files that are newer than their last com-
     mit date.

EXAMPLES
     Update all files' modification time to their last commit date, except those
     in working tree or index:

	 $ git utimes

     As above, but preserve original modification time of files that  were  com-
     mitted from local repo:

	 $ git utimes --newer

AUTHOR
     Written  by  Vitaly  Chikunov  <vt@altlinux.org>, inspired by Stackexchange
     comments. Updated by Bill Wood <wpwoodjr@gmail.com> to add --newer flag and
     ignore files in the working tree or index.

REPORTING BUGS
     <https://github.com/tj/git-extras/issues>

SEE ALSO
     <https://github.com/tj/git-extras>

				    May 2022			   GIT-UTIMES(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=git-utimes&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help