Archive for 8月 2019

从远程仓库获取最后一个git标签而不进行克隆

如何从(非签出)远程仓库中获取最后一个标签?
在我的本地副本上,我使用describe

git describe --abbrev=0 --tags

但我不能使用describe与远程存储

最佳答案
使用git ls-remote –tags [repository]

Continue reading ‘从远程仓库获取最后一个git标签而不进行克隆’ »