Phil for Humanity Phil for Humanity
A Guide for the Survival of Humankind and Helping the World, Society, and Yourself.

Git Version Tree: Gitk

If you want to see a Git branch’s version tree, run this command:

gitk &

This command will only display the version tree of the current branch that you are in, along with branches that are in the current branch as well as tags. Also, this command is run in the background so that the command line is still usable with gitk running.

If you want to see the entire version tree of a repository, including all branches, then run this command:

gitk --all &

The problem with this command is that the output can easily become too large and complex to be easily readable. If that is the case, then you might want to run gitk on a single file to only see the changes on that file. For example:

gitk --all FILENAME &

As a result, this command will make the version tree more readable by omitting data of other files that you may not be interested with.

by Phil for Humanity
on 11/09/2012

Related Articles
 » ClearCase Support: ClearCase's Graphical User Interfaces
 » Git Version
 » Git Help