Bookmarks
Bookmarks in Dojo are the equivalent of Git branches â named pointers to specific commits. However, they work slightly differently.
Creating bookmarks
Section titled âCreating bookmarksâdojo bookmark create my-featureListing bookmarks
Section titled âListing bookmarksâdojo bookmark listHow bookmarks differ from Git branches
Section titled âHow bookmarks differ from Git branchesâ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
Moving bookmarks
Section titled âMoving bookmarksâBookmarks move automatically when you create new commits on top of them. You can also move them manually:
dojo bookmark set my-feature --to <commit-id>