git-config
Verified for current stable LTS
Git Config Command: Set Global Name Or Email
Use for set global name or email with Git Config. Exact CLI syntax to set global name or email using Git Config.
When to use this: Use for set global name or email with Git Config.
Command Syntax
git config --global <user.name|user.email> "<Your Name|email@example.com>" git config --global <user.name|user.email> "<Your Name|email@example.com>" Command Breakdown
--global- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to set global name or email using Git Config.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Git Config Command: List Configurations
git config -l --<local|global|system> --show-origin Git Config Command: Set Global Alias git config --global <alias.unstage> "reset HEAD --" Git Config Command: Get Configuration Value git config <alias.unstage> Git Config Command: Use Alias git <unstage> Git Config Command: Revert Global Alias To Default git config --global --unset <alias.unstage>