<div dir="ltr">Thanks,</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 1, 2015 at 11:15 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 1 Jun 2015, Mark Adams wrote:<br>
<br>
</span><span class="">> > To see what the local commits are - You would do:<br>
> ><br>
> > git fetch # this way origin/master is the latest<br>
> > git log origin/master..master<br>
> > or<br>
> > gitk origin/master..master<br>
> ><br>
> ><br>
> This looks like what I want. does this list the differences between<br>
> origin/master and my master?<br>
<br>
</span>Its not exactly a diff.<br>
<br>
'git log a..b' gives the list of commits in 'b' that don't exist in 'a'<br>
<br>
i.e 'git log origin/master..master' will show all changes in 'master'<br>
that are not in 'origin/master' - i.e usually your local changes [that<br>
are not yet pushed]<br>
<br>
Other usages:<br>
<br>
- Are all maint changes in master?<br>
git log master..maint<br>
<br>
- I have a 'my/feature-breanch' off 'master'. What commits did I make?<br>
git log master..my/feature-branch<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span></blockquote></div><br></div>