Trimming GIT Checkins/Squashing GIT History

Posted by yar on Stack Overflow See other posts from Stack Overflow or by yar
Published on 2010-02-20T15:58:37Z Indexed on 2010/05/10 11:24 UTC
Read the original article Hit count: 217

Filed under:
|

I check my code into a GIT branch every few minutes or so, and the comments end up being things like "Everything broken starting again" and other absurdities.

Then every few minutes/hours/days I do a serious checkin with a real comment like, "Fixed bug #22.55, 3rd time." How can I separate these two concepts? I would like to be able to remove all my frequent-checkins and just leave the serious ones.

© Stack Overflow or respective owner

Related posts about git

Related posts about branching