GitX and Lion

Currently GitX does some funny things in OS X Lion like opening two windows every time you launch the app. This is easily fixed with the following:

defaults write nl.frim.GitX ApplePersistenceIgnoreState YES

I tweeted about this a while ago with appropriate credit to this tweet. But finding it again in my twitter stream was a pain so here it is for posterity.