mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-29 02:51:12 +00:00
Deployed a31fe7f to prerelease with MkDocs 1.6.0 and mike 2.1.1
This commit is contained in:
parent
12df64eb15
commit
8b6fc40b9a
@ -7506,7 +7506,7 @@ compinit
|
||||
</ul>
|
||||
<h2 id="jj-workspace-add"><code>jj workspace add</code><a class="headerlink" href="#jj-workspace-add" title="Permanent link">¶</a></h2>
|
||||
<p>Add a workspace</p>
|
||||
<p>Sparse patterns will be copied over from the current workspace.</p>
|
||||
<p>By default, the new workspace inherits the sparse patterns of the current workspace. You can override this with the <code>--sparse-patterns</code> option.</p>
|
||||
<p><strong>Usage:</strong> <code>jj workspace add [OPTIONS] <DESTINATION></code></p>
|
||||
<h6 id="arguments_49"><strong>Arguments:</strong><a class="headerlink" href="#arguments_49" title="Permanent link">¶</a></h6>
|
||||
<ul>
|
||||
@ -7523,6 +7523,19 @@ compinit
|
||||
<p>If no revisions are specified, the new workspace will be created, and its working-copy commit will exist on top of the parent(s) of the working-copy commit in the current workspace, i.e. they will share the same parent(s).</p>
|
||||
<p>If any revisions are specified, the new workspace will be created, and the new working-copy commit will be created with all these revisions as parents, i.e. the working-copy commit will exist as if you had run <code>jj new r1 r2 r3 ...</code>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>--sparse-patterns <SPARSE_PATTERNS></code> — How to handle sparse patterns when creating a new workspace</p>
|
||||
<p>Default value: <code>copy</code></p>
|
||||
<p>Possible values:</p>
|
||||
<ul>
|
||||
<li><code>copy</code>:
|
||||
Copy all sparse patterns from the current workspace</li>
|
||||
<li><code>full</code>:
|
||||
Include all files in the new workspace</li>
|
||||
<li><code>empty</code>:
|
||||
Clear all files from the workspace (it will be empty)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="jj-workspace-forget"><code>jj workspace forget</code><a class="headerlink" href="#jj-workspace-forget" title="Permanent link">¶</a></h2>
|
||||
<p>Stop tracking a workspace's working-copy commit in the repo</p>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user