Hi all.

I dont work in branch "master", but always create a local branch "jan".

Can someone help me, how to make a diff.

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


of course
git diff foo.c

works but only against my last work commit in branch jan.

Thanks in advance for any help.
rgds
jan I.


Ps. How about that we in wiki, make a "helpful git commands" page ?

Reply via email to