From: Joshua N Pritikin Date: Thu, 12 Jul 2007 16:09:06 GMT Subject: Re: Volume of commits Message-ID: <20070712160906.GP23840@always.joy.eth.net> In-Reply-To: On Thu, Jul 12, 2007 at 04:51:44PM +0200, Fredrik Tolf wrote: > git-rebase is one of those tools I haven't been looking at so far (I'm > still rather new to Git), so I should probably read through its > manpage. I was in your shoes but I recently learned rebase. If you want to edit a commit then find the SHA-1 in git log. Then assuming you are on master: 1. git checkout -b tmp SHA-1 2. git commit --amend 3. git checkout master 4. git rebase --onto tmp SHA-1 Both times, use the same SHA-1.