Skip to content

Bookmarks

Bookmarks in Dojo are the equivalent of Git branches — named pointers to specific commits. However, they work slightly differently.

Terminal window
dojo bookmark create my-feature
Terminal window
dojo bookmark list

In Git, you’re always “on” a branch. In Dojo, bookmarks are just labels that point to commits. You can have multiple bookmarks pointing to the same commit, or no bookmark at all on your working copy.

Bookmarks are primarily used for:

  • Syncing with the server — bookmarks are the unit of push/pull
  • Organizing work — label your changes for easy reference
  • Code review — stacks are associated with bookmarks

Bookmarks move automatically when you create new commits on top of them. You can also move them manually:

Terminal window
dojo bookmark set my-feature --to <commit-id>