Show the history of a file with its diffs
Prints every commit that changed the file or directory, with the diff it introduced.
git log -p -- pathEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/git-log.md), licensed under CC BY 4.0.