Skip to content

Instantly share code, notes, and snippets.

@blork
Last active December 15, 2015 15:19
Show Gist options
  • Save blork/5280993 to your computer and use it in GitHub Desktop.
Save blork/5280993 to your computer and use it in GitHub Desktop.
A shell script which generates a nicely formatted change log between two git commit hashes. To be added as a custom action in Sourcetree.
#! /bin/bash
git log $1...$2 --pretty=format:'• %s' --reverse | grep -v Merge
@blork
Copy link
Author

blork commented Mar 31, 2013

Screenshot
Screenshot

@lukestringer90
Copy link

Worth noting that the shell script needs execute privileges.
chmod +x git-changelog.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment