如何一次下载项目的所有版本(实际上所有标签)?
我需要从GitHub存储库中下载一个项目的所有版本(实际上所有标签)。 因此,我需要提供给定项目的所有标签名称并自动下载它们的命令或脚本。
I need to download all releases (in fact all tags) of a project from github repository.
So I need commands or scripts that provide all the tag names of a given project and download them automatically.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
git克隆来克隆整个git存储库到计算机上的本地目录-No-single-branch
git git tag
命令列出所有标签,git Archive
命令创建每个标记版本的存档(tar或zip) )git clone --no-single-branch
git tag
command to list all the tagsgit archive
command to create an archive (tar or zip) of each tagged release (Hint: Use shell or batch scripting to loop over the output fromgit tag
)