0

Had a bug last week and somehow my comitter last name got changed from "Menzner" to "Menzer" and it won't let me push anymore. I've tried every combination of commands to try to reset it, but nothing works. Yes, I've already tried git config --global user.name etc etc as well as some amend commands, but this error still shows. When I run git config --list, I can even see that my name and email have correctly updated to "Menzner" yet I still get this error when I push. Any advice? This is a weird one. enter image description here

(Like I said I've already tried most git config commands)

  • I would check each of the [configuration scopes](https://git-scm.com/docs/git-config#SCOPES) to see if any of your `gitconfig` files still have the old email – Cory Kramer Nov 07 '22 at 18:26
  • Who is the committer of `a72c8ba12`? You probably need to edit that commit to fix the committer. – William Pursell Nov 07 '22 at 18:36
  • 3
    "somehow my comitter last name got changed from "Menzner" to "Menzer"" Well it didn't happen by magic. Do a global search of your hard drive for "Menzer". – matt Nov 07 '22 at 18:37
  • 2
    Once a commit is created, it is never changed again. If you need to change the name of commits before pushing, you must create new commits with the correct name and push those instead. – knittl Nov 07 '22 at 20:42

0 Answers0