My minimal git config:
[user]
name = David Kirkby
email = [email protected]
[alias]
ls = log --graph --pretty=format:'%C(blue)%h%Creset%C(red bold)%d%Creset %C(black)%s%Creset %C(green)(by %an %ar)%Creset' --all
This should normally be in ~/.gitconfig
but if using a shared account (at KPNO for example), put it somewhere else then set GIT_CONFIG
in your shell env to point to it.