# Initialize or clone existing repository with git backend
jj git clone repository_location
# View recent history of repository
## Create new change with readme
jj describe -m "feat(readme): add"
# Edit change by change id, can be non-commited changes
# Create new change and commit it
jj commit -m "feat(readme): add"
# Squash changes interactively and select relevant changes with change id called
jj squash --interactive --into change_id
# Describe specific change using change id
jj describe change_id -m "feat(readme): fix spelling"
jj split --interactive change_id -m "feat(database): scripts"
# Abandon (discard) change
jj git remove add orgin git@url
# Create bookmark (like git branch) with -r or --revisions (revision set or revset)
jj bookmark create main -r h
jj bookmark track main --remote=origin
## Create bookmark bar with revset at current change set of @'s previous 1 change
## Current change @ is empty
## @- are all changes in your current change set
jj bookmark create bar -r @-
## Create bookmark at current working set @
jj bookmark create workset -r @
jj git push --remote origin
# Resolve conflict at file
jj resolve src/file_with_conflict.c