From: Jakub Narebski Date: Fri, 16 Jan 2009 11:18:37 GMT Subject: Re: how to edit commit message in history Message-ID: In-Reply-To: <20090116035714.GA6984@b2j> bill lam writes: > I made some typos in commit messages, how to edit them without > affecting everything else? If it is last commit that you want to edit, and if you didn't publish this commit to soem public repository, you can simply use $ git commit --amend If the commit is deeper in history, use "git rebase --interactive". If you published commit, you are out of luck. See http://git.or.cz/gitwiki/GitTips -- Jakub Narebski Poland ShadeHawk on #git