Your cart is currently empty!
Jujutsu
Initializing the repository
Initializing from a remote Git repository:
jj git clone <repo-url> <destination>
Initializing from inside Git repository
jj git init --colocate
Initializing a new repository based on existing Git repository
jj git init --git-repo <path-to-your-git-repo>
Bookmark (Branch)
List bookmarks
jj bookmark list # for local bookmarks jj bookmark list -a # for local and remote bookmarks jj bookmark list --remote origin # for remote bookmarks jj bookmark list -t # for tracked (local+origin) bookmarks
Tracking remote a remote bookmark
jj bookmark track <bookmark>@<remote>
Working with the repository
Making a new revision on top of current working directory
# Adding / modifying some stuff here jj describe -m "commit message" jj new # Or jj commit -m "commit message"
Making a new revision on top of remote bookmark
jj new <bookmark>@<remote>
Showing what files have been added / modified / deleted
jj status
Showing what has been done
jj show
Showing the content changes
jj diff
Showing the log
jj log -r 'all()' # Show log from root() > decendants jj log -r 'root()::' # Show log from root() > decendants jj log -r 'zzzzzzzz::' # Show log from root() > decendants jj log -r '00000000::' # Show log from root() > decendants jj log -r 'root()::<branch>@<remote>'# Show log from root() > <branch>@<remote> jj log -r '::@' # Show log from @ > root()
Deleting a commit
jj abandon
Leave a Reply