> On 28 Dec 2014, at 3:33 am, jan i <[email protected]> wrote:
> 
> in branch "jan" I have modified file foo.c how can I see a diff against
> master
> 
> something like
> 
> git diff -m master foo.c

git diff master path/to/file.c

Another handy one is:

git diff --name-status master

This shows you all the files that have changed.

—
Dr Peter M. Kelly
[email protected]

PGP key: http://www.kellypmk.net/pgp-key <http://www.kellypmk.net/pgp-key>
(fingerprint 5435 6718 59F0 DD1F BFA0 5E46 2523 BAA1 44AE 2966)

Reply via email to