ok/jj
1
0
Fork 0
forked from mirrors/jj

Deployed 2a9fdba to prerelease with MkDocs 1.6.0 and mike 2.1.1

This commit is contained in:
jj-docs[bot] 2024-07-23 15:46:27 +00:00
parent 97e7b16eaa
commit eb11c5cdea
3 changed files with 32 additions and 1 deletions

View file

@ -6545,6 +6545,7 @@ tool-command = ["rustfmt", "--emit", "stdout"]</p>
<li>
<p><code>--allow-empty-description</code> — Allow pushing commits with empty descriptions</p>
</li>
<li><code>--allow-private</code> — Allow pushing commits that are private</li>
<li><code>-r</code>, <code>--revisions &lt;REVISIONS&gt;</code> — Push branches pointing to these commits (can be repeated)</li>
<li><code>-c</code>, <code>--change &lt;CHANGE&gt;</code> — Push this commit by creating a branch based on its change ID (can be repeated)</li>
<li><code>--dry-run</code> — Only display what will change on the remote</li>

View file

@ -1105,6 +1105,15 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#set-of-private-commits" class="md-nav__link">
<span class="md-ellipsis">
Set of private commits
</span>
</a>
</li>
</ul>
@ -2230,6 +2239,15 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#set-of-private-commits" class="md-nav__link">
<span class="md-ellipsis">
Set of private commits
</span>
</a>
</li>
</ul>
@ -2909,6 +2927,18 @@ example:</p>
<div class="codehilite"><pre><span></span><code>git.push-branch-prefix = &quot;martinvonz/push-&quot;
</code></pre></div>
<h3 id="set-of-private-commits">Set of private commits<a class="headerlink" href="#set-of-private-commits" title="Permanent link">&para;</a></h3>
<p>You can configure the set of private commits by setting <code>git.private-commits</code> to
a revset. The value is a revset of commits that Jujutsu will refuse to push. If
unset, all commits are eligible to be pushed.</p>
<div class="highlight"><pre><span></span><code><span class="c1"># Prevent pushing work in progress or anything explicitly labeled &quot;private&quot;</span>
<span class="n">git</span><span class="p">.</span><span class="n">private-commits</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot;description(glob:&#39;wip:*&#39;) | description(glob:&#39;private:*&#39;)&quot;</span>
</code></pre></div>
<p>If a commit is in <code>git.private-commits</code> but is already on the remote, then it is
not considered a private commit. Commits that are immutable are also excluded
from the private set.</p>
<p>Private commits prevent their descendants from being pushed, since doing so
would require pushing the private commit as well.</p>
<h2 id="filesystem-monitor">Filesystem monitor<a class="headerlink" href="#filesystem-monitor" title="Permanent link">&para;</a></h2>
<p>In large repositories, it may be beneficial to use a "filesystem monitor" to
track changes to the working copy. This allows <code>jj</code> to take working copy

File diff suppressed because one or more lines are too long