Skip to content

Instantly share code, notes, and snippets.

@farhaven
Created September 28, 2016 15:22
Show Gist options
  • Save farhaven/66405fa44dfa664881bb7512ed6bb042 to your computer and use it in GitHub Desktop.
Save farhaven/66405fa44dfa664881bb7512ed6bb042 to your computer and use it in GitHub Desktop.
[aliases]
unmerged = !git branch --no-merged | xargs -L1 git --no-pager log --pretty=tformat:'%Cgreen%d%Creset - %h by %an (%Cblue%ar%Creset)' -1
merged = !git branch --merged | grep -v '^* ' | xargs -L1 git --no-pager log --pretty=tformat:'%Cgreen%d%Creset - %h by %an (%Cblue%ar%Creset)' -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment