Skip to content

Instantly share code, notes, and snippets.

@sergeyhush
Created September 29, 2014 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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