How to see remote tags?

The Solution to How to see remote tags? is

You can list the tags on remote repository with ls-remote, and then check if it's there. Supposing the remote reference name is origin in the following.

git ls-remote --tags origin

And you can list tags local with tag.

git tag

You can compare the results manually or in script.

~ Answered on 2014-09-23 06:08:21

Most Viewed Questions: