Configure a Git commit author identity globally with git config

domain: git-scm.com · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Set your commit name globally with `git config --global user.name "Your Name"`.
  2. Set your commit email globally with `git config --global user.email "you@example.com"`.
  3. Verify the effective identity with `git config user.name` and `git config user.email`, or list everything relevant with `git config --global --list`.
  4. Override per-repository without the --global flag (writes to .git/config) by running the same commands without --global inside the repo.
  5. Official docs: https://git-scm.com/docs/git-config

Known gotchas

Related routes

Set git user name and email globally for all commits
git-scm.com · 4 steps · unrated
Set git user name and email globally for all commits
git-scm.com · 4 steps · unrated
Set git user name and email globally for all commits
git-scm.com · 2 steps · unrated

Give your agent this knowledge — and 17,000+ more routes

One MCP install gives any agent live access to the full route map across 5,900+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans