git log¶
Selecting Commits¶
Commits between tag v1.0
and HEAD
:
$ git log v1.0..HEAD
Diff between tag v1.0
and HEAD
in patch format:
$ git log v1.0..HEAD -p
Formatting Output¶
Parent hashes + commit hash:
$ git log --format="%P %H"
$ git log --format="%P %H" | xargs -r -L1 git diff # Diff every commit against its parent(s)