On 11/14/2011 01:46 PM, Peng Yu wrote:
>> However, please do us (and yourself) a favor by reading and applying
>> the guidelines in HACKING before posting your patch.
> 
> I had committed more than one times. The following command only shows
> the latest commit. How to get the diff for all the changes that I
> made?
> 
> ~/coreutils$ git format-patch --stdout -1 > DIFF

Change the -1 to -2 or how many you want to go back.
Note you may want to change a commit rather than
build up loads of little changes. To do that you need
to `git commit --amend` rather than using `git commit` each time

cheers,
Pádraig.

Reply via email to