Skip to content

Instantly share code, notes, and snippets.

f(events) -> state
match f(state, event) -> state
f(state, command) -> events
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"