Skip to main content
Version: 0.94

Tips

How to use Git CLI

The in-platform notebook server comes with Git CLI, which allows users to version controll notebooks, data files, and more. While Git CLI is available through the Notebook via system shell access (i.e., the magic command !git), the built-in terminal works better with commands that prompt user input.

First, click “File Browser” at the top-right corner, followed by “New” -> “Terminal” as below:

Opening Terminal

Then paste the HTTPS URL for your repository, like https://github.com/USERNAME/REPO.git, to the terminal:

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

As of today, you can only use your personal access token. See here for more details.

NOTE

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

NOTE

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