mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-01 15:51:29 +08:00
jj*: update documentation URL (#20714)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
> Abandon a revision, rebasing descendants onto its parent(s).
|
||||
> Abandoning a revision removes its associated change ID.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-abandon>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-abandon>.
|
||||
|
||||
- Abandon revisions specified by given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Split changes in the source revision and move each change to the closest mutable ancestor where the corresponding lines were modified last.
|
||||
> Changes that have zero or multiple matching regions in ancestral revisions won't be moved.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-absorb>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-absorb>.
|
||||
|
||||
- Move all eligible and unambiguous changes from a revision to other revisions automatically:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Manage bookmarks in a `jj` repository.
|
||||
> When using a Git backend, bookmarks correspond to Git branches.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-bookmark>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-bookmark>.
|
||||
|
||||
- Create a new bookmark at the given revision:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj commit
|
||||
|
||||
> Update the description and create a new change on top.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-commit>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-commit>.
|
||||
|
||||
- Open editor to write the commit message and then create a new empty commit on top:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj describe
|
||||
|
||||
> Update the change description or other metadata.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-describe>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-describe>.
|
||||
|
||||
- Update the description of the current change:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj diff
|
||||
|
||||
> Compare file contents between two revisions.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-diff>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-diff>.
|
||||
|
||||
- Show changes of current revision:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj diffedit
|
||||
|
||||
> Touch up the content changes in a revision with a diff editor.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-diffedit>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-diffedit>.
|
||||
|
||||
- Edit changes in the current revision with a diff editor:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj duplicate
|
||||
|
||||
> Create new changes with the same content as existing ones.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-duplicate>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-duplicate>.
|
||||
|
||||
- Duplicate the current revision onto its existing parent:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Set the specified revision as the working-copy revision.
|
||||
> Note: It is generally recommended to instead use `jj new` and `jj squash`.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-edit>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-edit>.
|
||||
|
||||
- Set the given revision as the working copy:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj evolog
|
||||
|
||||
> Show how a change has evolved over time, listing the previous commits it has pointed to.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-evolog>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-evolog>.
|
||||
|
||||
- Show how a revision has evolved over time:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Create a new repo backed by a clone of a Git repo.
|
||||
> Note: Unless `--colocate` is used, it is not a valid Git repository and `git` commands can't be used on it.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-clone>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-clone>.
|
||||
|
||||
- Create a new repo backed by a clone of a Git repo into a new directory (the default directory is the repository name):
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj git fetch
|
||||
|
||||
> Fetch from a Git remote, downloading objects and refs from the remote repository.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-fetch>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-fetch>.
|
||||
|
||||
- Fetch the latest changes from the default remote repository:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Create a new Git backed Jujutsu repo.
|
||||
> Note: Unless `--colocate` is used, it is not a valid Git repository and `git` commands can't be used on it.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-init>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-init>.
|
||||
|
||||
- Create a new Git backed repo in the current directory:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj git push
|
||||
|
||||
> Push to a Git remote.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-push>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-push>.
|
||||
|
||||
- Push a bookmark to the given remote (defaults to `git.push` setting):
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj git remote
|
||||
|
||||
> Manage Git remotes.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-remote>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-remote>.
|
||||
|
||||
- List all Git remotes:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj git
|
||||
|
||||
> Run Git-related commands for a `jj` repository.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git>.
|
||||
|
||||
- Create a new Git backed repository:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj interdiff
|
||||
|
||||
> Compare changes of two revisions.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-interdiff>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-interdiff>.
|
||||
|
||||
- Compare changes from a revision to the working copy:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj log
|
||||
|
||||
> Show revision history as a graph.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-log>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-log>.
|
||||
|
||||
- Show revision history as a graph:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj new
|
||||
|
||||
> Create a new empty change.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-new>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-new>.
|
||||
|
||||
- Create a new empty change on top of current revision:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj next
|
||||
|
||||
> Move the working-copy commit to a child revision.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-next>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-next>.
|
||||
|
||||
- Move the working-copy commit to the next child revision:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj operation
|
||||
|
||||
> Work with the operation log of a `jj` repository.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-operation>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-operation>.
|
||||
|
||||
- Show operation log:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj parallelize
|
||||
|
||||
> Parallelize revisions by making them siblings.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-parallelize>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-parallelize>.
|
||||
|
||||
- Parallelize given revisions:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj prev
|
||||
|
||||
> Move the working-copy commit to a parent revision.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-prev>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-prev>.
|
||||
|
||||
- Move the working-copy commit to the previous parent revision:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj rebase
|
||||
|
||||
> Move revisions to different parent(s).
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-rebase>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-rebase>.
|
||||
|
||||
- Move given revisions to a different parent(s):
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj resolve
|
||||
|
||||
> Resolve conflicted files with an external merge tool.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-resolve>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-resolve>.
|
||||
|
||||
- Resolve all conflicts:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj restore
|
||||
|
||||
> Restore files from another revision.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-restore>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-restore>.
|
||||
|
||||
- Restore files from a revision into another revision:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj revert
|
||||
|
||||
> Apply the reverse of the given revision(s).
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-revert>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-revert>.
|
||||
|
||||
- Apply the reverse of the revisions specified by the given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj show
|
||||
|
||||
> Show commit description and changes in a revision.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-show>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-show>.
|
||||
|
||||
- Show commit description and changes in a revision:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Simplify parent edges for the specified revision(s).
|
||||
> For example, "A -> B -> C | A -> C" gets simplified to "A -> B -> C".
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-simplify-parents>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-simplify-parents>.
|
||||
|
||||
- Simplify parent edges of given revisions:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj split
|
||||
|
||||
> Split a revision in two.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-split>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-split>.
|
||||
|
||||
- Split the given revision into two interactively, putting the second revision on top of it:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj squash
|
||||
|
||||
> Move changes from a revision into another revision.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-squash>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-squash>.
|
||||
|
||||
- Move all changes from current revision to its parent:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Show high-level repository status.
|
||||
> This includes the working copy commit and its parents, and a summary of the changes in the working copy and any existing conflicts in the working copy.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-status>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-status>.
|
||||
|
||||
- Show high-level status of the repository:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# jj undo
|
||||
|
||||
> Undo the most recent recorded operation in a `jj` repository.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-undo>.
|
||||
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-undo>.
|
||||
|
||||
- Undo the last operation:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user