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?
question from:
https://stackoverflow.com/questions/20734181/how-to-get-list-of-latest-tags-in-remote-git 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…