Thanks a ton. That took care of it. On Jan 24, 10:44 pm, Konstantin Khomoutov <flatw...@users.sourceforge.net> wrote: > On Mon, Jan 24, 2011 at 04:38:05PM -0800, ats wrote: > > I did not have the global user.name and user.email not set and hit the > > commit first. > > > I am now trying to amend the username with the below command now > > git commit --amend --author=ats@XXXXX > > > I have tried above with both the old use.email and new user.email > > but I am getting the error message like the following: > > > fatal: No existing author found with 'ats@XXXXXXX' > > > Could you please advise? > > ISTR, you just properly set user.name and user.email and then do > $ git commit --amend -C HEAD --reset-author > > That should reuse the log message from the tip commit but use your > configured parameters to set the commit author.
-- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to email@example.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.