Where can I manage files uploaded to wiki of a Gitlab.com project?

时光怂恿深爱的人放手 提交于 2019-12-21 09:08:36

问题


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

Now my questions are:

  1. Can I see list of the uploaded files?
  2. Is there any way to remove some of them?
  3. Why permission of uploaded file is public? Can I change it to private?

Current version of gitlab is Enterprise Edition 8.9.4-ee.


回答1:


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).

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.



来源:https://stackoverflow.com/questions/38228508/where-can-i-manage-files-uploaded-to-wiki-of-a-gitlab-com-project

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!