Skip to content

Instantly share code, notes, and snippets.

@sergeyhush
Created September 29, 2014 21:53
Show Gist options
  • Save sergeyhush/61fc52f70741f20fb390 to your computer and use it in GitHub Desktop.
Save sergeyhush/61fc52f70741f20fb390 to your computer and use it in GitHub Desktop.
for tag in $(git tag);
do
commit=$(git rev-list -1 $tag)
echo “$tag -> $commit"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment