There are alot of methods to get latest tags when you have local git repo.
But i want to get list of latest tags on remote repo.
I know about "git ls-remote", and everything is fine when you use tags like x.y.z (where x,y,z are numbers). But when tags looks like "test-x.y.z" and "dev-x.y.z" i noticed that large amount of "test" tags will pull out any new "dev" tags, which is not correct.
So, how would you like solve this?