Access Gitlab File Files

How can we access the fragment file from the Gitlab (private) repository?

I can access and clone my (private) projects (using SSH), but the problem with the fragments is that the raw URL does not return the file name, let me give an example:

I create a new snippet:
Title: My new patch
Access: Public (let’s say public to be clearer)
File: my_patch.patch (filename)
<code>….</code>

When I see the source file, it returns a url like https://gitlab.com/snippets/id/raw , but I need something like https://gitlab.com/snippets/id/my_patch.patch

Is it possible?

+4
source share
1 answer

I do not think that a common fragment is supported at this moment.

Check and click these feature suggestions for this improvement:

https://gitlab.com/gitlab-org/gitlab-ce/issues/22337

https://gitlab.com/gitlab-org/gitlab-ce/issues/24318

0

Source: https://habr.com/ru/post/1531370/


All Articles