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 essentially equivalent to `git log --raw --no-merges`, making it easier to see which files were affected by each commit.

PARAMETERS

-n num

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

INSTALL

sudo apt install git
copy
sudo dnf install git
copy
sudo pacman -S git
copy
sudo apk add git
copy
sudo zypper install git
copy
brew install git
copy
nix profile install nixpkgs#git
copy

CAVEATS

This command is deprecated and scheduled for removal in a future Git release. Use `git log --raw` instead. When limiting output to a path, add `--` before the path to avoid ambiguity with branch names, e.g. `git whatchanged -- [file]`.

SEE ALSO

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

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid