From: Nguyen Thai Ngoc Duy Date: Tue, 05 Apr 2011 02:52:04 GMT Subject: Re: How to split a big commit Message-ID: In-Reply-To: <20110405000852.GA1704@elie> On Tue, Apr 5, 2011 at 7:08 AM, Jonathan Nieder wrote: > Hi Duy, > > Nguyen Thai Ngoc Duy wrote: > >> After a lot of small commits and a few mixed up large commits, it was >> too messy that I merged them all into one big commit then started >> spliting it into smaller, reasonable patches. Just wonder if anybody >> else faces the same thing and how they deal with it. I used "git reset >> --soft ^" and "git add -N" because there were new files, >> but it was clumsy. > > I tend to do "git reset HEAD^ -- ." and then "git add -N ." and > "git add -p", for what it's worth. But you would need to undo "git add -N" for those files you don't want in yet? -- Duy