/ Published in: Bash
Combine multiple smaller incremental commits into larger ones, perfect for encouraging you to commit often while enabling you to summarize a day's work into one, or more, simplified commit.
WARNING: Only do this on commits that haven’t been pushed an external repository.
WARNING: Only do this on commits that haven’t been pushed an external repository.
URL: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html