- unstable 1:2.53.0-1
- experimental 1:2.53.0+next.20260227-1
| GIT-LAST-MODIFIED(1) | Git Manual | GIT-LAST-MODIFIED(1) |
NAME¶
git-last-modified - EXPERIMENTAL: Show when files were last modified
SYNOPSIS¶
git last-modified [--recursive] [--show-trees] [--max-depth=<depth>] [-z]
[<revision-range>] [[--] <pathspec>...]
DESCRIPTION¶
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.
OPTIONS¶
-r, --recursive
-t, --show-trees
--max-depth=<depth>
-z
<revision-range>
[--] <pathspec>...
OUTPUT¶
The output is in the format:
<oid> TAB <path> LF
If a path contains any special characters, the path is C-style quoted. To avoid quoting, pass option -z to terminate each line with a NUL.
<oid> TAB <path> NUL
SEE ALSO¶
GIT¶
Part of the git(1) suite
| 03/01/2026 | Git 2.53.0.697.g625c4f |