From: Junio C Hamano Date: Tue, 29 Mar 2011 18:28:40 GMT Subject: Re: how to squash two commits into only one Message-ID: <7v1v1psrvr.fsf@alter.siamese.dyndns.org> In-Reply-To: Nguyen Thai Ngoc Duy writes: >> Actually, that should be: `git reset --soft HEAD^; git commit --amend`. > > "git rebase --root" does not seem a bad idea though. The lack of this did't annoy me enough (one woudln't have to deal with root commits too often) so I wouldn't bother implementing it myself, but "git rebase --root" especially with "-i" would be a nice addition. i.e. well written and explained patches welcome.