---
description: Easily maintain multiple versions of a Notebook in GIT Lab.
---

# Notebook Version Control

{% hint style="info" %}
_<mark style="color:green;">**Pre-requisite:**</mark> Make sure that the Version control settings for the DSL plugin are configured by your administrator before you use this functionality._
{% endhint %}

{% hint style="success" %}
_Watch out a walk-through on the **Version Control Functionality** for Notebook._
{% endhint %}

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FoHk4OE3O2WmmchnrAMOE%2Fpush_pull_notebook.gif?alt=media&#x26;token=b15c0f66-d786-4553-af9e-c9e79b9e0ee2" alt=""><figcaption><p><em><strong>Pushing to and Pulling from VCS functionality for a Notebook</strong></em></p></figcaption></figure>

## Pushing a Notebook to the VCS <a href="#pushing-a-notebook-to-the-vcs" id="pushing-a-notebook-to-the-vcs"></a>

* Navigate to the Notebook list of a Project.
* Select a Notebook.
* Click the _**Push into VCS**_ icon for the Notebook.​

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FPEw7sjRsPTxTeyPNH3Ak%2Fimage.png?alt=media&#x26;token=773c681c-e205-44c4-b7a5-44aece1781c3" alt=""><figcaption><p><em><strong>Push to VCS icon for Notebook</strong></em></p></figcaption></figure>

* The Push into Version Controlling System dialog box appears.
* Provide a Commit Message.
* Click the _**Push**_ option.​

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FQNhLLEOqB8WyS6nOdTF5%2Fimage.png?alt=media&#x26;token=cf9badab-fbc4-4f18-bf62-1ff1363aeedf" alt=""><figcaption><p><em><strong>Push into Version Controlling System dialog box</strong></em></p></figcaption></figure>

* The Notebook version gets pushed into the Version Controlling System and the Notebook list gets updated with the latest version.
* A notification message appears to inform the success of the action.​

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FGxEMWkIZ4paNjTtNm05k%2Fimage.png?alt=media&#x26;token=90085225-9da1-4254-923a-d3282c06b2b0" alt=""><figcaption><p><em><strong>Notification message to push Notebook version in the VCS</strong></em></p></figcaption></figure>

## Pulling a Notebook from the VCS <a href="#pulling-a-project-from-the-vcs" id="pulling-a-project-from-the-vcs"></a>

* Navigate to the Notebook list given under a Project.
* Select a Notebook.
* Click the _**Pull from VCS**_ icon for the Notebook.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FOiwe3QLNHiqJt1VqIhVR%2Fimage.png?alt=media&#x26;token=d0e93633-b5a4-485d-9888-b43b25d72fd5" alt=""><figcaption><p><em><strong>Pull from VCS icon for a Notebook</strong></em></p></figcaption></figure>

* The _**Pull from Version Controlling System**_ dialog box opens.
* Select the version that you wish to pull by using the checkbox.
* Click the _**Pull**_ option.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FhaoU6Nnw2HpKeCkI0Zu9%2Fimage.png?alt=media&#x26;token=0220b354-d2b7-4618-ad48-91ff081b4aa7" alt=""><figcaption><p><em><strong>Pull from Version Controlling System dialog box for Notebook</strong></em></p></figcaption></figure>

* The pulled version of the selected Notebook gets updated in the Notebook list.
* A notification message appears to inform the success of the action.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2F0bOkpfANGbvpb4iiPi9c%2Fimage.png?alt=media&#x26;token=fd624b64-b0f2-429f-878c-c2e254213673" alt=""><figcaption><p><em><strong>Notification message when a version of the Notebook gets pulled​</strong></em></p></figcaption></figure>

{% hint style="info" %}
_<mark style="color:green;">Please Note:</mark> Refer the **Data Science Lab Quick Start Flow** page to get an overview of the **Data Science Lab** module in nutshell._ [_**Click here**_](../../../../../data-science-lab-quick-start-flow) _to get redirected to the quick start flow page._
{% endhint %}
