Export to GIT

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

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

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

Export 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.

Import 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.

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

Last updated