TIL how to upload files to Gitlab snippets from the CLI
I recently wanted to share a code-snippet with a colleague. I decided to use Gitlab Snippets for this. However the snippet was more of some hundred lines of code in a text-file which I didn’t want to simply copy-paste.
Lucky for me I had python-gitlab installed, a Python library …
more ...