Snippets

If you have worked with GitHub as a developer, you will have seen gists before. These are little pieces of code that are usable for more than one goal. Often they could exist in several code repositories, but they are available as gists to be reused. In GitLab this concept is known as snippets. They are also used as examples to be discussed about, and so on. The following example is a screenshot of a new snippet:

You can create snippets on a personal and project level. They can be made public, and there is even an option to embed them in your own site, as shown in the following example:

Snippets can be used to share information, and using them could help to fulfill the requirement for the platform to enhance collaboration.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.80.45