domino logo
5.6
  • Overview
  • Domino Cloud
  • Domino Nexus
  • Code Assist
  • Get started
  • Work with data
  • Develop models
  • Scale out distributed computing
  • Deploy models
  • Monitor models
  • Publish Apps
  • Projects
  • Collaborate
  • Workspaces
  • Jobs
  • Environments
  • Executions
  • Launchers
  • Environment variables
  • Secure credential store
  • Organizations
  • Domino API
  • Domino CLI
  • Troubleshooting
  • Get help
  • Additional resources
  • Send feedback
domino logo
About Domino
Domino Data LabKnowledge BaseData Science BlogTraining
>
User guide
>
Workspaces
>
Sync changes

Sync changes

You can sync recent changes to your files or all changes. Domino recommends that you sync your work at least daily.

Important

Sync changes to files

  1. Click File Changes in the navigation pane of your workspace.

  2. Under Files, expand File Changes to view changes.

  3. Enter a commit message.

  4. Click Sync to Domino. Changes to files in the /mnt directory of your workspace will be synced to the Domino File System (DFS). Changes to files outside of the /mnt directory will not be synced.

    workspaces 12

  5. After syncing to Domino is complete, you can view your files in the Code section of your project.

    code

Sync all changes

  1. Click File Changes in the navigation bar of your workspace.

  2. Under All Changes, enter a commit message.

  3. Click Sync All Changes. Domino will save all your work to the Domino File System (DFS).

    workspaces 11

Sync in detached HEAD state

If you launch a workspace from a commit ID in a Git-based project and then try to sync or pull changes, you may see the following error: detached head state workspace

In this scenario, your workspace is in a detached HEAD state. In order to pull or sync, you must checkout a branch.

Different IDEs may provide different ways to checkout a branch. The following instructions will work for Jupyter Notebook.

  1. Open a terminal. open terminal dropdown workspace

  2. Type git checkout -b my-new-branch-name into the terminal. Your new branch starts from the commit ID that you launched with. git checkout branchname workspace

  3. Re-try the sync or pull action.

Warning
Domino Data Lab
Knowledge Base
Data Science Blog
Training
Copyright © 2023 Domino Data Lab. All rights reserved.