Git clone: Redirect stderr to stdout but keep errors being written to stderr : <p><code>git clone</code> writes its output to <code>stderr</code> as documented <a href="https://www.kernel.org/pub/software/scm/git/docs/git-clone.html">here</a>. I can redirect this with the following command:</p>

<pre><code>git clone https://myrepo c:\repo 2&gt;&amp;1
</code></pre>

<p>But this will redirect all output, including errors, from <code>stderr</code>to <code>stdout</code>. Is there a way to redirect progress messages to <code>stdout</code> but have error messages still written to <code>stderr</code>. </p>
