[kgraphviewer-devel] Re: git ignorance

Marco Poletti poletti.marco at gmail.com
Sun Mar 20 13:45:08 CET 2011


2011/3/20 Gaël (aka Kleag) <kleag at free.fr>:
> Hi,
>
> I must again ignore my ignorance of git and ask for help as I cannot find the
> answer on the Web... I would like to find all the differences between the master
> and libkgraphviz branches of kgraphviewer. I tried some things with no
> success.
>
> Any hints ?

See all the changes:
git diff master..libkgraphviz

Get a big patch containing all the changes (note that to apply such a
patch you will need the "-p1" switch of "patch"):
git diff master..libkgraphviz >file.patch

Get the list of commits that are in libkgraphviz and not in master:
git log master..libkgraphviz
or
git log --oneline master..libkgraphviz

Get the list of commits that are in master and not in libkgraphviz
git log libkgraphviz..master
or
git log --oneline libkgraphviz..master


Marco

P.S.
I am sorry I still haven't really contibuted to kgraphviewer, but I
had 2 applications in mind and 1 was cancelled.
I am not even sure whether the other does still make sense.
At least I can give some advice about git.


More information about the kgraphviewer-devel mailing list