git-diff add prefixes¶ git diff --src-prefix="HEAD~2: " --dst-prefix="HEAD: " HEAD~2..HEAD Can come in handy when doing git-diff-with-stdin.