Appendix A. Tips and Tricks

In this appendix, we will look at some smaller tasks, tips, and tricks that can help you in your daily GitLab usage.

The power of snippets

Whenever you want to store a little piece of code or just want to share it, you might wonder where you're going to store it. GitLab tries to solve this issue by providing something called snippets. Snippets are little pieces of code that get stored along with the project.

Snippets are disabled by default. To enable them, go to the project settings page, and at the bottom under the heading Features, you see a checkbox for Snippets. Click on it and save the changes.

The power of snippets

You now have a new menu ...

Get GitLab Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.