Skip to main content
Version: 25.5

Notebook tips

This document contains a collection of tips and best practices for using Jupyter notebooks effectively with Snorkel.

How to use Git CLI with Snorkel

Snorkel's in-platform notebook server comes with Git CLI, which allows users to version control notebooks, data files, and more.

  1. Select Notebook from the left navigation.

  2. From the Other menu, select Terminal.

  3. Clone your git repository using the full HTTPS URL, like https://github.com/USERNAME/REPO.git:

    $ git clone https://github.com/USERNAME/REPO.git
    Username: YOUR_USERNAME
    Password: YOUR_PERSONAL_ACCESS_TOKEN

    Use your personal access token. See Using a personal access token on the command line for details.

note

Note that SSH URLs, like git@github.com:user/repo.git, are not supported.

note

Snorkel does not come with its own internal Git repository. Please create or provide your own from GitHub or equivalent.

The Git CLI is also available through the Notebook via system shell access (i.e., the magic command !git).