Thanks, On Mon, Jun 1, 2015 at 11:15 AM, Satish Balay <[email protected]> wrote:
> On Mon, 1 Jun 2015, Mark Adams wrote: > > > > To see what the local commits are - You would do: > > > > > > git fetch # this way origin/master is the latest > > > git log origin/master..master > > > or > > > gitk origin/master..master > > > > > > > > This looks like what I want. does this list the differences between > > origin/master and my master? > > Its not exactly a diff. > > 'git log a..b' gives the list of commits in 'b' that don't exist in 'a' > > i.e 'git log origin/master..master' will show all changes in 'master' > that are not in 'origin/master' - i.e usually your local changes [that > are not yet pushed] > > Other usages: > > - Are all maint changes in master? > git log master..maint > > - I have a 'my/feature-breanch' off 'master'. What commits did I make? > git log master..my/feature-branch > > Satish >
