How to work with Git in Notebooks

EN | ES

This functionality is available from version 2.1.0-gradius onwards.

Considerations

During the installation of the platform you can request the connection with the Git (GitLab) of the project/product, by using the URL of the remote, user and token.

It is important to keep in mind that all of the notebooks will be stored in the same repository. This is why the configuration for Git is done during the installation of the platform and will be managed internally.

This functionality can be activated after creating the notebooks, meaning you can create your notebooks and then decide to activate Git as repository for them, without loosing any data

How to use it

Once Git is enabled for the notebooks, every time a change is commited, it automatically uploads it into the master branch of the Git project.

 

We can see an example here

To commit a change, we must click in the button of the upper menu bar:

You can also see the diffs between commits to compare the changes history in a notebook:

If you need to revert changes, the option of moving the HEAD is available.