Terminal
Author identity unknown *** Please tell me who you are.
- What it means
- Git needs a name and email address to label your commits, and they haven't been set on this computer yet.
- Likely causes
- This is the first commit on a new computer before
git config --globalhas been set. - The GitHub setup step that sets your
noreplyemail was skipped.
- This is the first commit on a new computer before
- Prevention
- Set
--globalGit name and GitHub'snoreplyemail once during initial setup.
Copy for your agent
Git says `Author identity unknown`. Get my GitHub username and ID from `gh api user`, set my global `user.name` and private `@users.noreply.github.com` email, and retry the commit.
Was this page helpful?