Git Alias – ignore all whitespace

A talk at last year’s Chicago Code Camp spoke about Git aliases. Up until now I used shell aliases in the (wonderful) MINGW32 Git Bash shell, so “$ gs” is $ git status.

$ git diff is something I use a lot, but sometimes you want to ignore whitespace, say when you reformat an XML config file.

$ git config alias.di 'diff --ignore-all-space'

now, $ git di does what I want.

Lab burgers: it’s what’s for dinner (The Economist)

Memories of Chicken Little in Pohl and Kornbluth’s The Space Merchants I first read in high school. The older I get, the more that novel gets everything right.

Hamburger junction
Lab burgers: it’s what’s for dinner A QUARTER of a million euros is rather a lot to pay for a hamburger, but that will be the cost of the patty which Mark Post proposes to stick in a bun this October.