我在哪里可以管理上传到 Gitlab.com 项目 wiki 的文件? [英] Where can I manage files uploaded to wiki of a Gitlab.com project?

查看:11
本文介绍了我在哪里可以管理上传到 Gitlab.com 项目 wiki 的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在为我的私人项目创建 wiki 时,我已将一些文件上传到gitlab.com"上的 Gitlab 存储库.

I have uploaded some files to my Gitlab repository on "gitlab.com" while creating wiki for my private project.

现在我的问题是:

  1. 我可以查看已上传文件的列表吗?
  2. 有什么办法可以去除其中的一些吗?
  3. 为什么上传文件的权限是公开的?我可以将其更改为私有吗?

当前版本的 gitlab 是企业版 8.9.4-ee.

Current version of gitlab is Enterprise Edition 8.9.4-ee.

推荐答案

通过 wiki 编辑器将附件上传到 /uploads/.从 GitLab 8.9.0 版开始,您无法管理这些文件(即删除它们).

Attached files trough the wiki editor are uploaded to /uploads/. As of GitLab version 8.9.0 you are unable to manage these files (i.e. deleting them).

如果您想自己管理这些文件,您可以将 wiki 克隆为存储库.您可以在 Wiki -> 中找到克隆 URL.Git 访问.它应该看起来像这样:git@<link to gitlab>:<group/user name>/<project name>.wiki.git.在那里,您可以放置​​您的图像并将它们链接到您的 wiki 中.图片的链接是相对于 repo 根目录的,所以如果您的图片 image.png 在根文件夹中,您可以像这样将它与 markdown 链接 ![Image title](image.png).

If you want to manage those files yourself you can clone the wiki as repository. You can find the clone URL in Wiki -> Git Access. It should look something like this: git@<link to gitlab>:<group/user name>/<project name>.wiki.git. There you can put your images and link them within your wiki. The link to the image is relative to the repo root so if your image image.png is in the root folder you can link it with markdown like this![Image title](image.png).

权限方面,这些文件仅对至少对您的项目具有访客访问权限的用户可见,即使他们有直接链接.

Permission wise these files will only be visible to Users which have atleast Guest access to your project, even if they have a direct link.

这篇关于我在哪里可以管理上传到 Gitlab.com 项目 wiki 的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆