Skip to content

Instantly share code, notes, and snippets.

@stringhandler
Forked from delta1/gitlog.zsh
Created October 28, 2020 14:20
Show Gist options
  • Save stringhandler/b732b9fb634806a97bd6970c3fff4f4c to your computer and use it in GitHub Desktop.
Save stringhandler/b732b9fb634806a97bd6970c3fff4f4c to your computer and use it in GitHub Desktop.
formatted merge commits since the previous tag
git log --pretty=format:"%s" $(git describe --tags --abbrev=0 \@\^)..\@ | sed '/Merge #/!d' | sed 's/Merge #//' | sed 's/://' | sed -E 's/[0-9]+/[#&](https:\/\/github.com\/tari-project\/tari\/pull\/&)/' | sed 's/.*/- &/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment