How to split a big commit
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Apr 4, 2011, 11:52 UTC
- Message-ID
- <BANLkTikFXzut7fY5Tr0u-abu5Q0rMUOCmA@mail.gmail.com>
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 <big commit>^" and "git add -N" because there were new files, but it was clumsy.
-- Duy