> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-pipeline/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-pipeline/~/changes/hPXwcPgG9oW1n2fHDeOk/components/scripting/python-script/keeping-different-versions-of-the-python-script-in-vcs.md).

# Keeping Different Versions of the Python Script in VCS

## Pull from VCS

{% hint style="info" %}
*Check out the given walk-through on how to pull the committed Python script from the VCS.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FeiwilzEfu7q5jX0MRwpv%2Fpull_script_from_VCS_AdobeExpress.mp4?alt=media&token=dd784a1f-743f-4147-b888-cb9354b2594f>" %}
Pull from VCS
{% endembed %}

* Navigate to the Python Script component configuration section and click on the Pull Script from VCS icon.

<figure><img src="https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FHqzrSmIEKog6QcPF3ZL5%2Fimage.png?alt=media&amp;token=a912ca9e-c4e1-4d6f-b236-37bc5796aada" alt=""><figcaption></figcaption></figure>

* The Pull Script from VCS dialog box opens.
* Select a specific version that you wish to Pull.
* Click the ***Ok*** option.

![](https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2Ff83bIVzfMRk68dJW9MWc%2Fps_pull_from_vcs.png?alt=media\&token=28a3e9c9-643b-4d09-b303-ca92cd3127ba)

* A notification message appears to inform the user that the available versions of the script are getting pulled from the VCS.

![](https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FCmJDqTg1s1jWR6wCUE2Q%2Fimage.png?alt=media\&token=248ac249-3776-414e-a79b-01ba56719bb5)

* The user gets another notification regarding the script getting pulled from the selected version by the user.

![](https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2F0AsqSPwEg13cG8GM27dE%2Fimage.png?alt=media\&token=5b7613ae-2b6e-4ba1-9643-6e64fd1728a2)

* The final success notification message appears informing the users about the completion of the Pull action and the selected version of the script gets pulled.

![](https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2Fp9AceRzPokDLEX9zBz1c%2Fimage.png?alt=media\&token=93af3684-bb5d-4e88-93e5-fbfa772056e5)

## Push to VCS

{% hint style="info" %}
*Check out the given walk-through on how to push the committed Python script to the VCS.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2F4RYgo5c1GiGw6FvzHAEF%2Fpushing_script_to_vcs_AdobeExpress.mp4?alt=media&token=ebf81b73-0669-43fc-9db7-6d1c762fedee>" %}

* Navigate to the Python Script component configuration section and click on the Push Script to VCS icon.

<figure><img src="https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2Fj06IWZDk6AJrZkRzAbNK%2FPython%20script_push_vcs_ui.png?alt=media&amp;token=48532b0d-56b2-44a2-b1e6-612fd02e317e" alt=""><figcaption></figcaption></figure>

* The Push Script to VCS dialog box opens.
* Provide a commit message for the Script that you wish to push.
* Click the ***Ok*** option.

![](https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2F61UeVwZwWYCz1aECOQBe%2Fps_push_to_vcs.png?alt=media\&token=50509754-1f46-4779-9681-a590ce4ec86e)

* A notification message appears informing the user that the Push to VCS has been started.

![](https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2F7qs630rUotmfIFO3JxU0%2Fimage.png?alt=media\&token=3c7e6dce-a675-461f-b004-74c688d6e3fe)

* A success notification message appears informing the user that the Push to VCS action has been completed.

![](https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FOO4aq2rnUC37ctE73PUb%2Fsuccessfully_pushed_message.png?alt=media\&token=df6857a8-4201-4b34-a48a-f81ed055d086)
