Skip to content

Instantly share code, notes, and snippets.

@grant-h
Created March 5, 2015 15:38
Show Gist options
  • Save grant-h/761d753011b8df8ec417 to your computer and use it in GitHub Desktop.
Save grant-h/761d753011b8df8ec417 to your computer and use it in GitHub Desktop.
Git Aliases (git sl)
[alias]
br = branch
co = checkout
ci = commit
di = diff
st = status
sl = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all --since='90 days ago'
summary = show # Mercurial crib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment