coreutils
[Top][All Lists]
Advanced

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

Re: command for relative path


From: Pádraig Brady
Subject: Re: command for relative path
Date: Mon, 14 Nov 2011 13:55:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

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

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