GitCheatSheet.org logo
Home / How To

Show a patch with changes introduced by each commit

git log -p -2

Note: Using -2 to limit the result to the most recent two commits.