Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
My git aliases
co = checkout
ci = commit
st = status -sb
cln = remote prune origin
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --date=short
hist-graph = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
lr = "!f() { git log $1...$2 --left-right --oneline; }; f"
type = cat-file -t
dump = cat-file -p
ui = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment