# 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://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2FbRz3kOBQ8JYeflmd3YrS%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://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2FzgN4v8HYizgfQe9BLaNl%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://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2FuZpe5vL7LHdmY14F1GJX%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://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2FVkadVU5Xz2RMtx6snZyH%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>
