Skip to content

Instantly share code, notes, and snippets.

View digitalfiz's full-sized avatar
🤠
I may be slow to respond.

Marc Seiler digitalfiz

🤠
I may be slow to respond.
View GitHub Profile
@digitalfiz
digitalfiz / gist:67f4d5a089074b92e0e245354f697c18
Created April 21, 2022 03:01 — forked from carlosmcevilly/gist:2221249
fix git commit with wrong email address in git config, before pushing
If:
- you add and commit with the wrong email address in git, and
- your remote has a hook set up to prevent you from pushing with the bad address
Then you need to amend the author of your commit before push can succeed:
1. fix your email address in git config:
$ git config user.name "Your Name"