
10 Apr
2013
10 Apr
'13
3:45 p.m.
Dear Suriyan Ramasami,
In message 1365599537-14138-1-git-send-email-suriyan.r@gmail.com you wrote:
I couldn't figure out how to squash all these changes in one file with git. Do I just cat them? Hence, for this patch request they are unsquashed and in separate emails. Please let me know how I should squash for v3!
Use: "git rebase -i master.." or "git rebase -i HEAD~8" or similar. Then, in your editor, make all commits except for the first one as "s" (squash).
If you google, you will find a lot or git documentation that explains the details; see for example http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
As a general rule, the freedom of any people can be judged by the
volume of their laughter.