bin/git-tag-diff
#!/usr/bin/env bash
#
# Source: https://github.com/jwiegley/git-scripts/blob/master/git-tag-diff
# Show the differences between local tags and ones on the remote, if any
# (defaults to origin, but another remote may be specified on the commandline)
diff -u <(git show-ref --tags --dereference) \
<(git ls-remote --tags "$1" | tr '\t' ' ')