Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
GitLab Quick Start Guide

You're reading from   GitLab Quick Start Guide Migrate to GitLab for all your repository management solutions

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789534344
Length 180 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Adam O'Grady Adam O'Grady
Author Profile Icon Adam O'Grady
Adam O'Grady
Arrow right icon
View More author details
Toc

Snippets

If you've come from GitHub, you're probably aware of gists—a method of sharing single files, parts of files, or even just chunks of code or prose. GitLab has a similar feature called Snippets, but with some extra features woven into it.

You can access Snippets by clicking the option for it in the menu at the top of the screen:

On this page, you can view your own snippets as well as explore other snippets available on that GitLab instance. If you click New snippet, you'll be faced with the snippet creation screen:

Most of the fields on this page are pretty self-explanatory; you can fill out a title for the snippet and add a description in Markdown format (a brief rundown on Markdowns is available in the Appendix). Of incredible importance is picking the right visibility level. If you want your notes to be for your eyes only, you'll definitely...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime