Setup
Git asks who you are (name and email)
- What you see
- A commit fails with “Please tell me who you are”.
- Why it happens
- Git signs every checkpoint with a name and email, and it hasn't been told yours yet.
- How to fix it
- Ask your agent to set your Git name and a private GitHub email (the
noreplyone, so your real email stays private). - Let it retry the commit.
- Ask your agent to set your Git name and a private GitHub email (the
Message for your agent
Git asked who I am. Set my global Git user.name and a private GitHub noreply email from `gh api user`, then retry the commit.
Tip
How to prevent it: It's a one-time setting. The Setup stage covers it.
Was this page helpful?