Skip to content

Instantly share code, notes, and snippets.

@kunickiaj
Created June 23, 2017 21:50
Show Gist options
  • Save kunickiaj/13ca6e620043e54c048d9cac4647d83d to your computer and use it in GitHub Desktop.
Save kunickiaj/13ca6e620043e54c048d9cac4647d83d to your computer and use it in GitHub Desktop.
git aliases
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
bl = for-each-ref --sort=refname:short refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment