Skip to content

Display commit history graphically with Gitk

gitk path/to/myfile

Let’s say you have two commits d9e1db9 and 5651067 and want to see what happened between them. d9e1db9 is the oldest ancestor and 5651067 is the final descendant in the chain of commits.

gitk --ancestry-path d9e1db9 5651067

If you have the version tag v2.3 you can display all commits since that tag.

gitk v2.3..