如何在VSC中压缩GitHub仓库?

huangapple go评论55阅读模式
英文:

How to zip github repository in VSC?

问题

I am, obviously, still quite new to VSC but I have added github extensions and can edit in VSC rather than github WebUI now.

当然,我对VSC还很陌生,但我已经添加了GitHub扩展,现在可以在VSC中进行编辑,而不是使用GitHub WebUI。

When I want to test the code (a KODI plugin) I simply need a zip of all the files in that repo. On github I would just select Code - Download Zip.
Is there a way of doing this without going to the github website and without downloading and then manually compressing in File Explorer?

当我想测试这个代码(一个KODI插件)时,我只需要一个包含该存储库中所有文件的zip文件。在GitHub上,我只需选择 Code - Download Zip
是否有办法在不访问GitHub网站的情况下完成这个操作,也不需要在文件资源管理器中下载然后手动压缩?

I would like to directly create a zip from the selected folders within VSC.

我想直接从VSC中选择的文件夹中创建一个zip文件。

Thank you for your help
Alex

谢谢你的帮助
Alex

英文:

I am, obviously, still quite new to VSC but I have added github extensions and can edit in VSC rather than github WebUI now.

When I want to test the code (a KODI plugin) I simply need a zip of all the files in that repo. On github I would just select Code - Download Zip.
Is there a way of doing this without going to the github website and without downloading and then manually compressing in File Explorer?

I would like to directly create a zip from the selected folders within VSC.

Thank you for your help
Alex

答案1

得分: 1

你可以从现有仓库下载或创建一个zip存档,请查看此答案

如果你想将其与VSCode集成,请查看如何创建VSCode任务

英文:

You can download or create a zip archive from an existing repo, check this answer.

If you want to integrate this with VSCode check out how to create a VSCode Task.

huangapple
  • 本文由 发表于 2023年6月22日 14:33:53
  • 转载请务必保留本文链接:https://go.coder-hub.com/76529135.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定