coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command for relative path


From: Peng Yu
Subject: Re: command for relative path
Date: Mon, 14 Nov 2011 08:25:51 -0600

2011/11/14 Pádraig Brady <address@hidden>:
> 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

Hi Pádraig

I will do it next time. The attachment is the patch.

-- 
Regards,
Peng

Attachment: DIFF
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]