<div dir="ltr">Hi Holger,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 21, 2016 at 2:42 PM, Holger Freyther <span dir="ltr"><<a href="mailto:holger@freyther.de" target="_blank">holger@freyther.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
> On 21 Jun 2016, at 23:37, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
><br>
<br>
Hi Eliot,<br>
<span class=""><br>
<br>
> How do I know? This "fetch and then diff" method is IMO broken. I simply want to know whether there are incoming commits /before/ I do a fetch.<br>
<br>
</span>"fetch" will just update your remote (origin by default). Do you know "git ls-remote origin", is that closer to what you want?<br></blockquote><div><br></div><div>It doesn't help me. I can't decode the commits into changes:</div><div><br></div><div>McStalker.oscogvm$ git ls-remote origin</div><div>3e19ff3d1924550911e5fc15bbbf5eb05f39320c HEAD</div><div>3e19ff3d1924550911e5fc15bbbf5eb05f39320c refs/heads/Cog</div><div>56c4157d4a41fbc6d8f98e241c4eec954d15ebd2 refs/heads/master</div><div>795791095cc6dbc63a8272d6481554cde8b976fd refs/heads/oldTrunk</div><div>6879a597d5214e7cbb7ce329ef015ead2a7dffeb refs/heads/platform/Cross/plugins</div><div>250ea8034ffccd0639910f2abac787573afb48dd refs/heads/platform/win32/plugins</div><div>2fafe3d5bd3391b3151eb29a5b3221dc7ba18eff refs/pull/10/head</div><div>cad7fcbdc2db887fd44ece95b8c5a5a2f9ed97e7 refs/pull/11/head</div><div>2fafe3d5bd3391b3151eb29a5b3221dc7ba18eff refs/pull/8/head</div><div>d6d4215efc98645136ed420a69ceaf6f5f454b6c refs/pull/8/merge</div><div><br></div><div>What makes sense to me is a list of changed files, and a further option to do a diff. So I guess the fetch, diff approach is what I'll have to get used to. What's the diff command to compare the current state of files (including unstaged modifications) against the last fetch?</div><div><br></div><div><br></div><div>And thanks for holding my hand here; I really appreciate everyone's patience and help. I know I look really clumsy right now. Hopefully the murk will clear and I'll learn before doing too much damage.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><font color="#888888">holger</font></span></blockquote></div> <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>