LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-whatchanged

Show commit logs with file-level diff information

TLDR

Show commit logs with diffs
$ git whatchanged
copy
Show for specific file
$ git whatchanged [file]
copy
Show with stat
$ git whatchanged --stat
copy
Limit output
$ git whatchanged -n [10]
copy
Show since date
$ git whatchanged --since="[2 weeks ago]"
copy

SYNOPSIS

git whatchanged [options] [paths...]

DESCRIPTION

git whatchanged shows logs with the difference each commit introduces. It is similar to `git log` but defaults to showing raw diff output, making it easier to see which files were affected by each commit.This command is considered somewhat legacy; `git log` with appropriate options provides the same functionality.

PARAMETERS

-n num

Limit number of commits.
--stat
Show diffstat.
--since date
Commits since date.
--until date
Commits until date.
-p
Show patch.

SEE ALSO

git-log(1), git-diff(1)

Copied to clipboard
Kai