Skip to content

Instantly share code, notes, and snippets.

@tyrelsouza
Created August 28, 2015 19:29
Show Gist options
  • Save tyrelsouza/7b57fe6394b8190578a3 to your computer and use it in GitHub Desktop.
Save tyrelsouza/7b57fe6394b8190578a3 to your computer and use it in GitHub Desktop.
[alias]
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
logtree= "log --graph --oneline --decorate --all"
la = "!git config -l | grep alias | cut -c 7-"
recent = "!git for-each-ref --format=\"%(committerdate:relative) | %(refname)\" --sort=-committerdate refs/heads | sed '/master/d' | head -n 10"
tabsescape = "!git diff --color | sed 's/\\t/\\\\t/g'"
tabs = "!git diff --color | sed 's/\\t/⌑/g'"
v=describe --tags --match 'v*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment