|
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO | GIT | COLOPHON |
|
|
|
GIT-LAST-MODIFIED(1) Git Manual GIT-LAST-MODIFIED(1)
git-last-modified - EXPERIMENTAL: Show when files were last
modified
git last-modified [--recursive] [--show-trees] [<revision-range>] [[--] <path>...]
Shows which commit last modified each of the relevant files and
subdirectories. A commit renaming a path, or changing it’s mode is
also taken into account.
THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.
-r, --recursive
Instead of showing tree entries, step into subtrees and show
all entries inside them recursively.
-t, --show-trees
Show tree entries even when recursing into them. It has no
effect without --recursive.
<revision-range>
Only traverse commits in the specified revision range. When no
<revision-range> is specified, it defaults to HEAD (i.e. the
whole history leading to the current commit). For a complete
list of ways to spell <revision-range>, see the Specifying
Ranges section of gitrevisions(7).
[--] <path>...
For each <path> given, the commit which last modified it is
returned. Without an optional path parameter, all files and
subdirectories in path traversal the are included in the
output.
git-blame(1), git-log(1).
Part of the git(1) suite
This page is part of the git (Git distributed version control
system) project. Information about the project can be found at
⟨http://git-scm.com/⟩. If you have a bug report for this manual
page, see ⟨http://git-scm.com/community⟩. This page was obtained
from the project's upstream Git repository
⟨https://github.com/git/git.git⟩ on 2026-01-16. (At that time,
the date of the most recent commit that was found in the
repository was 2026-01-15.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org
Git 2.53.0.rc0 2026-01-15 GIT-LAST-MODIFIED(1)
Pages that refer to this page: git(1)