Git

Display commit history graphically with Gitk

Display commit history for one file

gitk path/to/myfile

Display all commits between two commits

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

Display commits since version tag

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

gitk v2.3..


This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow