From: Johannes Schindelin Date: Sun, 19 Feb 2006 19:27:15 GMT Subject: Re: Fixing author/email fields in commit messages Message-ID: In-Reply-To: <43F8BCB1.2010701@gmail.com> Hi, On Sun, 19 Feb 2006, Jacob Kroon wrote: > When I started my git repository for my project, I never setup > GIT_AUTHOR_NAME etc. correctly, so my commit messages used the default > information, "", "skeletor" being the hostname of > the computer I'm working on. I'd like to change it so that the messages > will contain correct information about my e-mail and username. I noticed > that this question has been brought up here before and that the solution > might be to use git-convert-objects, but that it might need some > modifications. > > Has anyone come up with a working tool for this task ? Unfortunately not. However, I'd rather start by enhancing git-rebase. You do not really need to rewrite *all* objects, but only the *commit objects*. Two things seem to be lacking for what you want: - an option to rebase "onto an empty commit", and - an optional filter command to run on the commit messages. Hth, Dscho