1GIT-UTIMES(1)                     Git Extras                     GIT-UTIMES(1)
2
3
4

NAME

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

SYNOPSIS

9       git-utimes [--newer]
10

DESCRIPTION

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

OPTIONS

16       --newer
17
18       Preserves the original modification time of files that  were  committed
19       from  the  local repo, by only touching files that are newer than their
20       last commit date.
21

EXAMPLES

23       Update all files' modification time to their last commit  date,  except
24       those in working tree or index:
25
26
27           $ git utimes
28
29
30
31       As  above,  but  preserve original modification time of files that were
32       committed from local repo:
33
34
35           $ git utimes --newer
36
37
38

AUTHOR

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

REPORTING BUGS

45       <https://github.com/tj/git-extras/issues>
46

SEE ALSO

48       <https://github.com/tj/git-extras>
49
50
51
52                                   May 2022                      GIT-UTIMES(1)
Impressum