Skip to content

Instantly share code, notes, and snippets.

@jivagoalves
Created November 6, 2013 13:00
Show Gist options
  • Save jivagoalves/7335705 to your computer and use it in GitHub Desktop.
Save jivagoalves/7335705 to your computer and use it in GitHub Desktop.
#!/bin/bash
LIST=$(git log origin/production..master --no-merges --pretty=format:%s | egrep -o "[0-9]{6,}" | sort -u)
for id in $LIST; do
echo https://www.pivotaltracker.com/story/show/${id};
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment