Quick question: how to generate a patch?
- From
- Aubrey <aubreylee@gmail.com>
- Date
- Feb 27, 2006, 14:57 UTC
- Message-ID
- <6d6a94c50602270657m453cc581p6ec290c20879de25@mail.gmail.com>
Hi all,
I'm a newbie of git. I have a question about how to generate a patch by git. I want to make a patch againt git repository HEAD. So in my local tree, I do the command:
git diff -p > my.patch
The file my.patch is generated. But the unchanged files information is also included in the patch file. It should be quiet. Was I wrong to use git by this way?
Thanks for your hints.
Regards, -Aubrey