You can sync recent changes to your files or all changes. Domino recommends that you sync your work at least daily.
-
Click File Changes in the navigation pane of your workspace.
-
Under Files, expand File Changes to view changes.
-
Enter a commit message.
-
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. -
After syncing to Domino is complete, you can view your files in the Code section of your project.
-
Click File Changes in the navigation bar of your workspace.
-
Under All Changes, enter a commit message.
-
Click Sync All Changes. Domino will save all your work to the Domino File System (DFS).
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:
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.
-
Open a terminal.
-
Type
git checkout -b my-new-branch-name
into the terminal. Your new branch starts from the commit ID that you launched with. -
Re-try the sync or pull action.