Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Git 1.9/2.0 (Q1 2014) will introduce color formatting for <code>git for-each-ref</code>.<br> See <a href="https://github.com/git/git/commit/fddb74c94777351d549b2ddaa36612c41b2176f1" rel="nofollow noreferrer">commit fddb74c</a> from <a href="https://github.com/artagnon" rel="nofollow noreferrer">Ramkumar Ramachandra (artagnon)</a>:</p> <h2><code>for-each-ref</code>: introduce <code>%(color:...)</code> for color</h2> <blockquote> <p>Enhance '<code>git for-each-ref</code>' with color formatting options.<br> You can now use the following format in for-each-ref:</p> </blockquote> <pre><code>%(color:green)%(refname:short)%(color:reset) </code></pre> <blockquote> <p>where color names are described in <code>color.branch.*</code>.</p> </blockquote> <hr> <p>With Git 2.15 (Q4 2017), you will be able to turn those colors on or off.</p> <p>See <a href="https://github.com/git/git/commit/0c88bf50502e2be7d7d8965052d77bbf08e1d519" rel="nofollow noreferrer">commit 0c88bf5</a> (03 Oct 2017) by <a href="https://github.com/peff" rel="nofollow noreferrer">Jeff King (<code>peff</code>)</a>.<br> <sup>(Merged 04 Oct 2017)</sup> </p> <blockquote> <h2>provide <code>--color</code> option for all ref-filter users</h2> <p>When ref-filter learned about want_color() in <a href="https://github.com/git/git/commit/11b087adfd469ca597f1d269314f8cad32d0d72f" rel="nofollow noreferrer">11b087a</a> (<code>ref-filter</code>: consult want_color() before emitting colors, 2017-07-13), it became useful to be able to turn colors off and on for specific commands. For <code>git-branch</code>, you can do so with <code>--color</code>/<code>--no-color</code>.</p> <p>But for <code>git-for-each-ref</code> and <code>git-tag</code>, the other users of ref-filter, you have no option except to tweak the "<code>color.ui</code>" config setting. Let's give both of these commands the usual color command-line options.</p> <p>This is a bit more obvious as a method for overriding the config. And it also prepares us for the behavior of "<code>always</code>" changing (so that we are still left with a way of forcing color when our output goes to a non-terminal).</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload