mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-30 19:32:39 +00:00
Deployed d9597c5 to prerelease with MkDocs 1.5.2 and mike 1.1.2
This commit is contained in:
parent
abeb8bb05f
commit
7d24c6b4b2
@ -1800,7 +1800,8 @@ a <code>$</code>):</p>
|
||||
<a href="https://github.com/so-fancy/diff-so-fancy"><code>diff-so-fancy</code></a> before piping it
|
||||
through a pager you must do it using a subshell as, unlike <code>git</code> or <code>hg</code>, the
|
||||
command will be executed directly. For example:</p>
|
||||
<p><code>ui.pager = ["sh", "-c", "diff-so-fancy | less -RFX"]</code></p>
|
||||
<div class="highlight"><pre><span></span><code><span class="n">ui</span><span class="p">.</span><span class="n">pager</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">[</span><span class="s">"sh"</span><span class="p">,</span><span class="w"> </span><span class="s">"-c"</span><span class="p">,</span><span class="w"> </span><span class="s">"diff-so-fancy | less -RFX"</span><span class="p">]</span>
|
||||
</code></pre></div>
|
||||
<h2 id="aliases">Aliases<a class="headerlink" href="#aliases" title="Permanent link">¶</a></h2>
|
||||
<p>You can define aliases for commands, including their arguments. For example:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="c1"># `jj l` shows commits on the working-copy commit's (anonymous) branch</span>
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user