Gitk on Mac OS X Screenshot

Just thought I’d show off my gitk screenshot cuz I think it looks cool w/ the Gershwin theme (OS 9 Platinum) and my custom font settings.

The project it shows is RAM (Ruby Asset Manager) development. I use git because it is fast, distributed (I can commit w/o Internet), and has a concept of the relationship / ancestry of patches, branches, trees, etc… The knowledge of these relationships allow for much more automated merging (where a program like Subversion would just mark conflicts), so I spend less time in merge land. With git, it is not uncommon to merge three or more branches at the same time, and have fun doing so!

In gitk, I can peruse the latest commits of other members of the project quickly, and without a mouse (gitk has nice key bindings for most actions). It really beats doing “svn log” and “svn diff” (which would take forever), or clicking each Trac commit in the Timeline. Most notably, I see the relationship between each commit visually, so I can tell at a glance how far, for example, a certain tagged branch is from trunk, or any other branch, so I have an idea of how much has changed.

To get gitk looking the way I have it, take all or part of my ~/.gitk:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
set mainfont {Arial 12}
set textfont {"Courier" 12}
set uifont {Arial 12 bold}
set findmergefiles 0
set maxgraphpct 50
set maxwidth 16
set cmitmode patch
set wrapcomment none
set showneartags 1
set bgcolor white
set fgcolor black
set colors {green red blue magenta darkgrey brown orange}
set diffcolors {red "#00a000" blue}
set permviews {}
The only thing I needed to change to make gitk usable in OS X were the first three lines (the fonts).

Comments