Skip to content

Instantly share code, notes, and snippets.

# based off the longer gist at https://gist.github.com/mwhite/6887990
[alias]
# one-line log
l = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
# staging
a = add
ac = !git add . && git commit -am
ap = add -p