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

查看:91
本文介绍了在哪里可以管理上传到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的当前版本是Enterprise Edition 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 -> Git Access中找到克隆URL.它看起来应该像这样:git@<link to gitlab>:<group/user name>/<project name>.wiki.git.您可以在其中放置图像并将其链接到Wiki中.图像的链接是相对于存储库根目录的,因此,如果图像image.png在根文件夹中,则可以使用诸如![Image title](image.png)这样的markdown链接它.

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天全站免登陆