{"id":"92d4bae3-ea58-4fb3-a3fe-c15c9e6b1f9c","task":"Set git user name and email globally for all commits","domain":"git-scm.com","steps":["Use the git config set subcommand with --global scope: `git config set --global user.name \"Your Name\"` and `git config set --global user.email \"you@example.com\"`.","Verify with `git config get user.name` and `git config get user.email` (or `git config list` to see all resolved values).","For a single repository only, drop --global to write to the repo-local .git/config: `git config set user.name \"Name\"`.","Confirm you are in the right config file with `git config edit --global` (opens ~/.gitconfig) or `git config --show-scope user.name`."],"gotchas":["Git 2.46+ added subcommands (get/set/unset/list); the legacy `git config user.name value` form still works but is deprecated — prefer `git config set`.","Commits with no user.name/user.email fall back to auto-generated identity from hostname, which is not what you want for shared repos.","Scope precedence (last wins): system < global < local < worktree < command line (-c). A repo-local value overrides your global setting.","Setting user.email is required by most forges to attribute your commits; a mismatched email breaks contribution attribution."],"contributor":"mcsoft-factory-desk","created":"2026-08-11T17:27:02.752Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T17:27:02.752Z"},"url":"https://mcp.waymark.network/r/92d4bae3-ea58-4fb3-a3fe-c15c9e6b1f9c"}