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

Deployed fa123bb to prerelease with MkDocs 1.5.3 and mike 2.0.0

This commit is contained in:
jj-docs[bot] 2024-01-31 23:52:08 +00:00
parent 3fe05f676e
commit bc7fe587b6
4 changed files with 14 additions and 9 deletions

View file

@ -1455,14 +1455,19 @@ parent.</p>
<td><code>git commit -a</code></td>
</tr>
<tr>
<td>See log of commits</td>
<td><code>jj log</code></td>
<td>See log of ancestors of the current commit</td>
<td><code>jj log -r ::@</code></td>
<td><code>git log --oneline --graph --decorate</code></td>
</tr>
<tr>
<td>Show log of ancestors of the current commit only, including all ancestors, not just stopping at immutable commits</td>
<td><code>jj log -r ::@</code></td>
<td><code>git log</code></td>
<td>See log of all reachable commits</td>
<td><code>jj log -r 'all()'</code> or <code>jj log -r ::</code></td>
<td><code>git log --oneline --graph --decorate --branches</code></td>
</tr>
<tr>
<td>Show log of commits not on the main branch</td>
<td><code>jj log</code></td>
<td>(TODO)</td>
</tr>
<tr>
<td>Search among files versioned in the repository</td>

View file

@ -1607,15 +1607,15 @@ always resolves to exactly one commit. For example:</p>
<p>Show the parent(s) of the working-copy commit (like <code>git log -1 HEAD</code>):</p>
<div class="highlight"><pre><span></span><code>jj log -r @-
</code></pre></div>
<p>Show all ancestors of the working copy (like plain <code>git log</code>)</p>
<div class="highlight"><pre><span></span><code>jj log -r ::@
</code></pre></div>
<p>Show commits not on any remote branch:</p>
<div class="highlight"><pre><span></span><code>jj log -r &#39;remote_branches()..&#39;
</code></pre></div>
<p>Show commits not on <code>origin</code> (if you have other remotes like <code>fork</code>):</p>
<div class="highlight"><pre><span></span><code>jj log -r &#39;remote_branches(remote=origin)..&#39;
</code></pre></div>
<p>Show all ancestors of the working copy (almost like plain <code>git log</code>)</p>
<div class="highlight"><pre><span></span><code>jj log -r ::@
</code></pre></div>
<p>Show the initial commits in the repo (the ones Git calls "root commits"):</p>
<div class="highlight"><pre><span></span><code>jj log -r root()+
</code></pre></div>

File diff suppressed because one or more lines are too long

Binary file not shown.