Skip to content

Instantly share code, notes, and snippets.

@dkirkby
Created March 23, 2021 13:52
Show Gist options
  • Save dkirkby/7b1a391757a8479658ce103f5f2b2e60 to your computer and use it in GitHub Desktop.
Save dkirkby/7b1a391757a8479658ce103f5f2b2e60 to your computer and use it in GitHub Desktop.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment