What does this command print?
git show HEAD~2:src/app.js
src/app.jsas it was two commits ago- The diff of
src/app.jsinHEAD~2 - The log of
src/app.jssinceHEAD~2 src/app.jsfrom the second parent
The
Play Git ▸
<rev>:<path> syntax names a blob, so git show prints the file's full content at that commit.