Skip to content

Instantly share code, notes, and snippets.

@71
Created May 1, 2023 10:15
Show Gist options
  • Save 71/2961d4afb5210468065bea3281c67622 to your computer and use it in GitHub Desktop.
Save 71/2961d4afb5210468065bea3281c67622 to your computer and use it in GitHub Desktop.
Jujutsu completions for Nushell
# Usage:
# use jj-completions.nu *
# Jujutsu (An experimental VCS)
export extern jj [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
--version(-V) # Print version
]
# Abandon a revision
export extern "jj abandon" [
...revisions: string # The revision(s) to abandon
--summary(-s) # Do not print every abandoned commit on a separate line
-r # Ignored (but lets you pass `-r` for consistency with other commands)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Apply the reverse of a revision on top of another revision
export extern "jj backout" [
--revision(-r): string # The revision to apply the reverse of
--destination(-d): string # The revision to apply the reverse changes on top of
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Manage branches
export extern "jj branch" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Create a new branch
export extern "jj branch create" [
--revision(-r): string # The branch's target revision
...names: string # The branches to create
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Delete an existing branch and propagate the deletion to remotes on the next push
export extern "jj branch delete" [
...names: string # The branches to delete
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Forget everything about a branch, including its local and remote targets
export extern "jj branch forget" [
...names: string # The branches to forget
--glob: string # A glob pattern indicating branches to forget
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# List branches and their targets
export extern "jj branch list" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Update a given branch to point to a certain commit
export extern "jj branch set" [
--revision(-r): string # The branch's target revision
--allow-backwards(-B) # Allow moving the branch backwards or sideways
...names: string # The branches to update
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print this message or the help of the given subcommand(s)
export extern "jj branch help" [
]
# Create a new branch
export extern "jj branch help create" [
]
# Delete an existing branch and propagate the deletion to remotes on the next push
export extern "jj branch help delete" [
]
# Forget everything about a branch, including its local and remote targets
export extern "jj branch help forget" [
]
# List branches and their targets
export extern "jj branch help list" [
]
# Update a given branch to point to a certain commit
export extern "jj branch help set" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj branch help help" [
]
# Print contents of a file in a revision
export extern "jj cat" [
--revision(-r): string # The revision to get the file contents from
path: string # The file to print
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Create a new, empty change and edit it in the working copy
export extern "jj checkout" [
revision: string # The revision to update to
-r # Ignored (but lets you pass `-r` for consistency with other commands)
--message(-m): string # The change description to use
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Update the description and create a new change on top
export extern "jj commit" [
--message(-m): string # The change description to use (don't open editor)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Manage config options
export extern "jj config" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# List variables set in config file, along with their values
export extern "jj config list" [
name?: string # An optional name of a specific config option to look up
--include-defaults # Whether to explicitly include built-in default values in the list
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Update config file to set the given option to a given value
export extern "jj config set" [
name: string
value: string
--user # Target the user-level config
--repo # Target the repo-level config
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Start an editor on a jj config file
export extern "jj config edit" [
--user # Target the user-level config
--repo # Target the repo-level config
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print this message or the help of the given subcommand(s)
export extern "jj config help" [
]
# List variables set in config file, along with their values
export extern "jj config help list" [
]
# Update config file to set the given option to a given value
export extern "jj config help set" [
]
# Start an editor on a jj config file
export extern "jj config help edit" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj config help help" [
]
# Low-level commands not intended for users
export extern "jj debug" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Evaluate revset to full commit IDs
export extern "jj debug revset" [
revision: string
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show information about the working copy state
export extern "jj debug workingcopy" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Parse a template
export extern "jj debug template" [
template: string
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show commit index stats
export extern "jj debug index" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Rebuild commit index
export extern "jj debug reindex" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show information about an operation and its view
export extern "jj debug operation" [
operation?: string
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print this message or the help of the given subcommand(s)
export extern "jj debug help" [
]
# Evaluate revset to full commit IDs
export extern "jj debug help revset" [
]
# Show information about the working copy state
export extern "jj debug help workingcopy" [
]
# Parse a template
export extern "jj debug help template" [
]
# Show commit index stats
export extern "jj debug help index" [
]
# Rebuild commit index
export extern "jj debug help reindex" [
]
# Show information about an operation and its view
export extern "jj debug help operation" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj debug help help" [
]
# Update the change description or other metadata
export extern "jj describe" [
revision?: string # The revision whose description to edit
-r # Ignored (but lets you pass `-r` for consistency with other commands)
--message(-m): string # The change description to use (don't open editor)
--stdin # Read the change description from stdin
--no-edit # Don't open an editor
--reset-author # Reset the author to the configured user
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show changes in a revision
export extern "jj diff" [
--revision(-r): string # Show changes in this revision, compared to its parent(s)
--from: string # Show changes from this revision
--to: string # Show changes to this revision
...paths: string # Restrict the diff to these paths
--summary(-s) # For each path, show only whether it was modified, added, or removed
--types # For each path, show only its type before and after
--git # Show a Git-format diff
--color-words # Show a word-level diff with changes indicated only by color
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Touch up the content changes in a revision with a diff editor
export extern "jj diffedit" [
--revision(-r): string # The revision to touch up. Defaults to @ if --to/--from are not specified
--from: string # Show changes from this revision. Defaults to @ if --to is specified
--to: string # Edit changes in this revision. Defaults to @ if --from is specified
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Create a new change with the same content as an existing one
export extern "jj duplicate" [
...revisions: string # The revision(s) to duplicate
-r # Ignored (but lets you pass `-r` for consistency with other commands)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Edit a commit in the working copy
export extern "jj edit" [
revision: string # The commit to edit
-r # Ignored (but lets you pass `-r` for consistency with other commands)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# List files in a revision
export extern "jj files" [
--revision(-r): string # The revision to list files in
...paths: string # Only list files matching these prefixes (instead of all files)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Commands for working with the underlying Git repo
export extern "jj git" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Manage Git remotes
export extern "jj git remote" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Add a Git remote
export extern "jj git remote add" [
remote: string # The remote's name
url: string # The remote's URL
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Remove a Git remote and forget its branches
export extern "jj git remote remove" [
remote: string # The remote's name
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Rename a Git remote
export extern "jj git remote rename" [
old: string # The name of an existing remote
new: string # The desired name for `old`
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# List Git remotes
export extern "jj git remote list" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print this message or the help of the given subcommand(s)
export extern "jj git remote help" [
]
# Add a Git remote
export extern "jj git remote help add" [
]
# Remove a Git remote and forget its branches
export extern "jj git remote help remove" [
]
# Rename a Git remote
export extern "jj git remote help rename" [
]
# List Git remotes
export extern "jj git remote help list" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj git remote help help" [
]
# Fetch from a Git remote
export extern "jj git fetch" [
--branch: string # Fetch only some of the branches
--remote: string # The remote to fetch from (only named remotes are supported, can be repeated)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Create a new repo backed by a clone of a Git repo
export extern "jj git clone" [
source: string # URL or path of the Git repo to clone
destination?: string # The directory to write the Jujutsu repo to
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Push to a Git remote
export extern "jj git push" [
--remote: string # The remote to push to (only named remotes are supported)
--branch(-b): string # Push only this branch (can be repeated)
--all # Push all branches
--deleted # Push all deleted branches
--change: string # Push this commit by creating a branch based on its change ID (can be repeated)
--dry-run # Only display what will change on the remote
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Update repo with changes made in the underlying Git repo
export extern "jj git import" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Update the underlying Git repo with changes made in the repo
export extern "jj git export" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print this message or the help of the given subcommand(s)
export extern "jj git help" [
]
# Manage Git remotes
export extern "jj git help remote" [
]
# Add a Git remote
export extern "jj git help remote add" [
]
# Remove a Git remote and forget its branches
export extern "jj git help remote remove" [
]
# Rename a Git remote
export extern "jj git help remote rename" [
]
# List Git remotes
export extern "jj git help remote list" [
]
# Fetch from a Git remote
export extern "jj git help fetch" [
]
# Create a new repo backed by a clone of a Git repo
export extern "jj git help clone" [
]
# Push to a Git remote
export extern "jj git help push" [
]
# Update repo with changes made in the underlying Git repo
export extern "jj git help import" [
]
# Update the underlying Git repo with changes made in the repo
export extern "jj git help export" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj git help help" [
]
# Create a new repo in the given directory
export extern "jj init" [
destination?: string # The destination directory
--git # Use the Git backend, creating a jj repo backed by a Git repo
--git-repo: string # Path to a git repo the jj repo will be backed by
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Compare the changes of two commits
export extern "jj interdiff" [
--from: string # Show changes from this revision
--to: string # Show changes to this revision
...paths: string # Restrict the diff to these paths
--summary(-s) # For each path, show only whether it was modified, added, or removed
--types # For each path, show only its type before and after
--git # Show a Git-format diff
--color-words # Show a word-level diff with changes indicated only by color
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show commit history
export extern "jj log" [
--revisions(-r): string # Which revisions to show. Defaults to the `ui.default-revset` setting, or `@ | (remote_branches() | tags()).. | ((remote_branches() | tags())..)-` if it is not set
...paths: string # Show commits modifying the given paths
--reversed # Show revisions in the opposite order (older revisions first)
--no-graph # Don't show the graph, show a flat list of revisions
--template(-T): string # Render each revision using the given template
--patch(-p) # Show patch
--summary(-s) # For each path, show only whether it was modified, added, or removed
--types # For each path, show only its type before and after
--git # Show a Git-format diff
--color-words # Show a word-level diff with changes indicated only by color
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Merge work from multiple branches
export extern "jj merge" [
...revisions: string # Parent(s) of the new change
-r # Ignored (but lets you pass `-r` for consistency with other commands)
--message(-m): string # The change description to use
--allow-large-revsets(-L) # Allow revsets expanding to multiple commits in a single argument
--insert-after(-A) # Insert the new change between the target commit(s) and their children
--after # Insert the new change between the target commit(s) and their children
--insert-before(-B) # Insert the new change between the target commit(s) and their parents
--before # Insert the new change between the target commit(s) and their parents
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Move changes from one revision into another
export extern "jj move" [
--from: string # Move part of this change into the destination
--to: string # Move part of the source into this change
--interactive(-i) # Interactively choose which parts to move
...paths: string # Move only changes to these paths (instead of all paths)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Create a new, empty change and edit it in the working copy
export extern "jj new" [
...revisions: string # Parent(s) of the new change
-r # Ignored (but lets you pass `-r` for consistency with other commands)
--message(-m): string # The change description to use
--allow-large-revsets(-L) # Allow revsets expanding to multiple commits in a single argument
--insert-after(-A) # Insert the new change between the target commit(s) and their children
--after # Insert the new change between the target commit(s) and their children
--insert-before(-B) # Insert the new change between the target commit(s) and their parents
--before # Insert the new change between the target commit(s) and their parents
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show how a change has evolved
export extern "jj obslog" [
--revision(-r): string
--no-graph # Don't show the graph, show a flat list of revisions
--template(-T): string # Render each revision using the given template
--patch(-p) # Show patch compared to the previous version of this change
--summary(-s) # For each path, show only whether it was modified, added, or removed
--types # For each path, show only its type before and after
--git # Show a Git-format diff
--color-words # Show a word-level diff with changes indicated only by color
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Commands for working with the operation log
export extern "jj operation" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show the operation log
export extern "jj operation log" [
--template(-T): string # Render each operation using the given template
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Create a new operation that undoes an earlier operation
export extern "jj operation undo" [
operation?: string # The operation to undo
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Create a new operation that restores the repo to an earlier state
export extern "jj operation restore" [
operation: string # The operation to restore to
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print this message or the help of the given subcommand(s)
export extern "jj operation help" [
]
# Show the operation log
export extern "jj operation help log" [
]
# Create a new operation that undoes an earlier operation
export extern "jj operation help undo" [
]
# Create a new operation that restores the repo to an earlier state
export extern "jj operation help restore" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj operation help help" [
]
# Move revisions to different parent(s)
export extern "jj rebase" [
--branch(-b): string # Rebase the whole branch relative to destination's ancestors (can be repeated)
--source(-s): string # Rebase specified revision(s) together their tree of descendants (can be repeated)
--revision(-r): string # Rebase only this revision, rebasing descendants onto this revision's parent(s)
--destination(-d): string # The revision(s) to rebase onto (can be repeated)
--allow-large-revsets(-L) # Allow revsets expanding to multiple commits in a single argument (for those options that can be repeated)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Resolve a conflicted file with an external merge tool
export extern "jj resolve" [
--revision(-r): string
--list(-l) # Instead of resolving one conflict, list all the conflicts
--quiet(-q) # Do not print the list of remaining conflicts (if any) after resolving a conflict
...paths: string # Restrict to these paths when searching for a conflict to resolve. We will attempt to resolve the first conflict we can find. You can use the `--list` argument to find paths to use here
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Restore paths from another revision
export extern "jj restore" [
--from: string # Revision to restore from (source)
--to: string # Revision to restore into (destination)
...paths: string # Restore only these paths (instead of all paths)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show commit description and changes in a revision
export extern "jj show" [
revision?: string # Show changes in this revision, compared to its parent(s)
-r # Ignored (but lets you pass `-r` for consistency with other commands)
--summary(-s) # For each path, show only whether it was modified, added, or removed
--types # For each path, show only its type before and after
--git # Show a Git-format diff
--color-words # Show a word-level diff with changes indicated only by color
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Manage which paths from the working-copy commit are present in the working copy
export extern "jj sparse" [
--add: string # Patterns to add to the working copy
--remove: string # Patterns to remove from the working copy
--clear # Include no files in the working copy (combine with --add)
--reset # Include all files in the working copy
--list # List patterns
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Split a revision in two
export extern "jj split" [
--revision(-r): string # The revision to split
...paths: string # Put these paths in the first commit and don't run the diff editor
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Move changes from a revision into its parent
export extern "jj squash" [
--revision(-r): string
--message(-m): string # The description to use for squashed revision (don't open editor)
--interactive(-i) # Interactively choose which parts to squash
...paths: string # Move only changes to these paths (instead of all paths)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show high-level repo status
export extern "jj status" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Infrequently used commands such as for generating shell completions
export extern "jj util" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print a command-line-completion script
export extern "jj util completion" [
--bash # Print a completion script for Bash
--fish # Print a completion script for Fish
--nu # Print a completion script for Nu
--zsh # Print a completion script for Zsh
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print a ROFF (manpage)
export extern "jj util mangen" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print the JSON schema for the jj TOML config format
export extern "jj util config-schema" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print this message or the help of the given subcommand(s)
export extern "jj util help" [
]
# Print a command-line-completion script
export extern "jj util help completion" [
]
# Print a ROFF (manpage)
export extern "jj util help mangen" [
]
# Print the JSON schema for the jj TOML config format
export extern "jj util help config-schema" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj util help help" [
]
# Undo an operation (shortcut for `jj op undo`)
export extern "jj undo" [
operation?: string # The operation to undo
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Move changes from a revision's parent into the revision
export extern "jj unsquash" [
--revision(-r): string
--interactive(-i) # Interactively choose which parts to unsquash
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Stop tracking specified paths in the working copy
export extern "jj untrack" [
...paths: string # Paths to untrack
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Display version information
export extern "jj version" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Commands for working with workspaces
export extern "jj workspace" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Add a workspace
export extern "jj workspace add" [
destination: string # Where to create the new workspace
--name: string # A name for the workspace
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Stop tracking a workspace's working-copy commit in the repo
export extern "jj workspace forget" [
workspace?: string # Name of the workspace to forget (the current workspace by default)
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# List workspaces
export extern "jj workspace list" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Show the current workspace root directory
export extern "jj workspace root" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Update a workspace that has become stale
export extern "jj workspace update-stale" [
--repository(-R): string # Path to repository to operate on
--ignore-working-copy # Don't snapshot the working copy, and don't update it
--at-operation: string # Operation to load the repo at
--at-op: string # Operation to load the repo at
--verbose(-v) # Enable verbose logging
--color: string # When to colorize output (always, never, auto)
--no-pager # Disable the pager
--config-toml: string # Additional configuration options
--help(-h) # Print help (see more with '--help')
]
# Print this message or the help of the given subcommand(s)
export extern "jj workspace help" [
]
# Add a workspace
export extern "jj workspace help add" [
]
# Stop tracking a workspace's working-copy commit in the repo
export extern "jj workspace help forget" [
]
# List workspaces
export extern "jj workspace help list" [
]
# Show the current workspace root directory
export extern "jj workspace help root" [
]
# Update a workspace that has become stale
export extern "jj workspace help update-stale" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj workspace help help" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj help" [
]
# Abandon a revision
export extern "jj help abandon" [
]
# Apply the reverse of a revision on top of another revision
export extern "jj help backout" [
]
# Manage branches
export extern "jj help branch" [
]
# Create a new branch
export extern "jj help branch create" [
]
# Delete an existing branch and propagate the deletion to remotes on the next push
export extern "jj help branch delete" [
]
# Forget everything about a branch, including its local and remote targets
export extern "jj help branch forget" [
]
# List branches and their targets
export extern "jj help branch list" [
]
# Update a given branch to point to a certain commit
export extern "jj help branch set" [
]
# Print contents of a file in a revision
export extern "jj help cat" [
]
# Create a new, empty change and edit it in the working copy
export extern "jj help checkout" [
]
# Update the description and create a new change on top
export extern "jj help commit" [
]
# Manage config options
export extern "jj help config" [
]
# List variables set in config file, along with their values
export extern "jj help config list" [
]
# Update config file to set the given option to a given value
export extern "jj help config set" [
]
# Start an editor on a jj config file
export extern "jj help config edit" [
]
# Low-level commands not intended for users
export extern "jj help debug" [
]
# Evaluate revset to full commit IDs
export extern "jj help debug revset" [
]
# Show information about the working copy state
export extern "jj help debug workingcopy" [
]
# Parse a template
export extern "jj help debug template" [
]
# Show commit index stats
export extern "jj help debug index" [
]
# Rebuild commit index
export extern "jj help debug reindex" [
]
# Show information about an operation and its view
export extern "jj help debug operation" [
]
# Update the change description or other metadata
export extern "jj help describe" [
]
# Show changes in a revision
export extern "jj help diff" [
]
# Touch up the content changes in a revision with a diff editor
export extern "jj help diffedit" [
]
# Create a new change with the same content as an existing one
export extern "jj help duplicate" [
]
# Edit a commit in the working copy
export extern "jj help edit" [
]
# List files in a revision
export extern "jj help files" [
]
# Commands for working with the underlying Git repo
export extern "jj help git" [
]
# Manage Git remotes
export extern "jj help git remote" [
]
# Add a Git remote
export extern "jj help git remote add" [
]
# Remove a Git remote and forget its branches
export extern "jj help git remote remove" [
]
# Rename a Git remote
export extern "jj help git remote rename" [
]
# List Git remotes
export extern "jj help git remote list" [
]
# Fetch from a Git remote
export extern "jj help git fetch" [
]
# Create a new repo backed by a clone of a Git repo
export extern "jj help git clone" [
]
# Push to a Git remote
export extern "jj help git push" [
]
# Update repo with changes made in the underlying Git repo
export extern "jj help git import" [
]
# Update the underlying Git repo with changes made in the repo
export extern "jj help git export" [
]
# Create a new repo in the given directory
export extern "jj help init" [
]
# Compare the changes of two commits
export extern "jj help interdiff" [
]
# Show commit history
export extern "jj help log" [
]
# Merge work from multiple branches
export extern "jj help merge" [
]
# Move changes from one revision into another
export extern "jj help move" [
]
# Create a new, empty change and edit it in the working copy
export extern "jj help new" [
]
# Show how a change has evolved
export extern "jj help obslog" [
]
# Commands for working with the operation log
export extern "jj help operation" [
]
# Show the operation log
export extern "jj help operation log" [
]
# Create a new operation that undoes an earlier operation
export extern "jj help operation undo" [
]
# Create a new operation that restores the repo to an earlier state
export extern "jj help operation restore" [
]
# Move revisions to different parent(s)
export extern "jj help rebase" [
]
# Resolve a conflicted file with an external merge tool
export extern "jj help resolve" [
]
# Restore paths from another revision
export extern "jj help restore" [
]
# Show commit description and changes in a revision
export extern "jj help show" [
]
# Manage which paths from the working-copy commit are present in the working copy
export extern "jj help sparse" [
]
# Split a revision in two
export extern "jj help split" [
]
# Move changes from a revision into its parent
export extern "jj help squash" [
]
# Show high-level repo status
export extern "jj help status" [
]
# Infrequently used commands such as for generating shell completions
export extern "jj help util" [
]
# Print a command-line-completion script
export extern "jj help util completion" [
]
# Print a ROFF (manpage)
export extern "jj help util mangen" [
]
# Print the JSON schema for the jj TOML config format
export extern "jj help util config-schema" [
]
# Undo an operation (shortcut for `jj op undo`)
export extern "jj help undo" [
]
# Move changes from a revision's parent into the revision
export extern "jj help unsquash" [
]
# Stop tracking specified paths in the working copy
export extern "jj help untrack" [
]
# Display version information
export extern "jj help version" [
]
# Commands for working with workspaces
export extern "jj help workspace" [
]
# Add a workspace
export extern "jj help workspace add" [
]
# Stop tracking a workspace's working-copy commit in the repo
export extern "jj help workspace forget" [
]
# List workspaces
export extern "jj help workspace list" [
]
# Show the current workspace root directory
export extern "jj help workspace root" [
]
# Update a workspace that has become stale
export extern "jj help workspace update-stale" [
]
# Print this message or the help of the given subcommand(s)
export extern "jj help help" [
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment