Skip to content

Instantly share code, notes, and snippets.

@epishkin
Last active October 7, 2015 16:08
Show Gist options
  • Save epishkin/3191654 to your computer and use it in GitHub Desktop.
Save epishkin/3191654 to your computer and use it in GitHub Desktop.
My git aliases
[alias]
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
[color]
ui = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment