Skip to content

Instantly share code, notes, and snippets.

@leekiernan
Last active December 16, 2015 05:28
Show Gist options
  • Save leekiernan/5384258 to your computer and use it in GitHub Desktop.
Save leekiernan/5384258 to your computer and use it in GitHub Desktop.
[alias]
st = status
ci = commit
cl = clone
br = branch
co = checkout
df = diff
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
who = shortlog -s --
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"
k = !gitk
[user]
name = Lee Kiernan
email = [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment