Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
status = auto
branch = auto
interactive = auto
diff = auto
co = checkout
br = branch
ci = commit
st = status
d = diff
dc = diff --cached
unstage = reset HEAD --
last = log -1 HEAD
tree = log --oneline --branches --graph --decorate
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
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
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
le = log --oneline --decorate
filelog = log -u
fl = log -u
f = "!git ls-files | grep -i"
grep = grep -Ii
gr = grep -Ii
la = "!git config -l | grep alias | cut -c 7-"
tool = opendiff
excludesfile = /Users/mguillermin/.global_ignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment