跳到主要内容

下载应用空间

如果您想获取CSGHub上的应用空间并下载至本地,当前我们支持通过Git和Web端下载应用空间。

使用Git下载应用空间​

  • 您可以通过HTTP下载应用空间(注:地址中的域名应为您实际部署 CSGHub 实例后的访问 URL,此处以官方传神社区 https://opencsg.com/ 为例):
git lfs install
# 格式:git clone https://<您的CSGHub域名或IP>/spaces/<用户名或组织名>/<空间应用名>.git
# 以官方传神社区为例:
git clone https://opencsg.com/spaces/opencsg/test_space.git
  • 您也可以通过SSH下载应用空间:
git lfs install
git clone ssh://git@localhost:2222/spaces/opencsg/test_space.git

注:需要将SSH公钥添加到您的用户设置才能推送更改或访问私有存储库。 点击右上角“账号设置”,进入“SSH Keys”添加公钥。 SSH Key

使用Web端下载数据​

在文件列表页点击下载按钮可直接下载文件。 添加文件

收藏应用空间​

可对应用空间点击进行收藏,并在右上角“我的收藏”查看收藏的所有应用空间。 收藏 收藏应用空间