GIT-WHATCHANGED(1)

πŸ’… GIT-WHATCHANGED(1) πŸ’…

okay so real talk β€” this is a page from the Git Manual, and the command is git-whatchanged. she's a legacy icon, and we're gonna talk about her. πŸŽ€


✨ NAME ✨

git-whatchanged β€” shows logs with the differences that each commit introduces πŸ¦‹


✨ SYNOPSIS ✨

git whatchanged <option>...

literally just the command plus whatever options you want, bestie. <option>... means as many as you like.


πŸ’€ WARNING πŸ’€

git whatchanged has been deprecated and is scheduled for removal in a future version of Git. why? because she is merely git log with different defaults. that's it. that's the whole vibe. 😭

so like… use her if you must, but know she's on her way out. no cap.


🌸 DESCRIPTION 🌸

she shows commit logs and the diff output that each commit introduces. both. at once. multitasking queen πŸ‘‘

New users are encouraged to use git-log(1) instead. fr fr, go read git-log(1). because the way that whatchanged works is that she's essentially the same as git-log(1), except she defaults to showing the raw format diff output and skipping merges:

git log --raw --no-merges

that's it. that's the difference. iconic but redundant πŸ’…

the reason she even exists? historical reasons. the command is primarily kept around because the fingers of many people who learned Git long before git log was invented β€” back when they were reading the Linux kernel mailing list β€” are literally trained to type it. muscle memory is real, bestie. 🫢


πŸŽ€ EXAMPLES πŸŽ€

okay here's where she eats. two examples, both gorgeous:

  • git whatchanged -p v2.6.12.. include/scsi drivers/scsi shows, as patches, the commits since version v2.6.12 that changed any file in the include/scsi or drivers/scsi subdirectories. πŸ“
  • git whatchanged --since="2 weeks ago" -- gitk shows the changes during the last two weeks to the file gitk. and note β€” the -- is necessary to avoid confusion with the branch named gitk. don't skip it, or things get weird πŸ™ˆ

πŸ‘‘ GIT πŸ‘‘

part of the git(1) suite, as all the best ones are. ⭐


<div align="center">πŸ’–</div>

okay that's the whole page!! she's Git 2.56.0, dated 2026-09-27, and this manual page is GIT-WHATCHANGED(1) β€” go forth, type your legacy commands, and remember: git log --raw --no-merges is your bestie now. πŸŒˆβœ¨πŸ’œ

πŸ“¦ where this page comes from