Export to GIT

A Notebook script can be migrated across the space and server by using the GIT migration option.

Prerequisite:

  1. It is required to set configuration for the DS Lab Migration using the Version Control option from the Admin module before migrating a DS Lab script or model.

  2. A Data Science Lab notebook has to be exported into Data pipeline before Exporting it into GIT (This will enable the Export to GIT option in the UI).

Check out the walk-through on how to migrate/ export a Notebook script to the GIT Repository.

Migrating a Notebook Script to GIT Repository

Exporting a DSL Script to GIT

  • Navigate to the Notebook list.

  • Click the Export icon for a Notebook.

  • The Export to Pipeline/ GIT dialog box options.

  • Select the Export to GIT option.

  • Provide a Commit Message in the given space.

  • Click the Export option.

  • A notification message appears, and the selected Script gets migrated to GIT repository.

Importing a DSL Script from GIT

After exporting a DSL script, you can Sign-in to another user account on different space or server and import the DSL script by using the below-given set of steps.

  • Click the Admin module from the Apps menu. ​

  • Select the GIT Migration option from the admin menu panel.

  • Click the Import File option. ​

  • The Import Document page opens, click the Import option.

  • The Migration- Document Import page opens.

  • Select New VCS as Version Control Configuration.

  • Select the DSLab option from the module drop-down menu.

  • Select Notebook option from the left side panel.

  • All the migrated Notebooks get listed.

  • Select a Notebook from the displayed list to open the available versions of the that Notebook.

  • Select a Version that you wish to import.

  • Click the Migrate the option.

  • The Data Connector Details dialog box opens.

  • Choose one connector from the Existing Connectors or Create a New Connector.

  • Click the Save option.

  • A notification message appears informing that the file has been migrated.

Please Note:

  • The user can migrate only the exported scripts (the exported scripts to the Data Pipeline).

  • Refer the Data Science Lab Quick Start Flow page to get an overview of the Data Science Lab module in nutshell. Click here to get redirected to the quick start flow page.

Last updated