> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab/project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/notebook/notebook-list-page/notebook-version-control.md).

# 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="/files/okEXlDcXQ63Nf9k9RHrP" 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="/files/oXpmmvXfl1VVjKYGMI6b" 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="/files/Pxo5hws6sBbWkuYzHQ13" 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="/files/aDnlMMlq32ptizh4MdVD" 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***](https://docs.bdb.ai/data-science-lab/data-science-lab-quick-start-flow) *to get redirected to the quick start flow page.*
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/data-science-lab/project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/notebook/notebook-list-page/notebook-version-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
