MeshWorld India LogoMeshWorld.

Configure Git User Name and Email via Terminal

Listen to ArticleAI Speech
~1 min read narration
100%
Configure Git User Name and Email via Terminal

Git allows you to configure a global and per-project Git profile consisting of name and email address.

Git commands come handy when you want to set or change your git identity. Changes only affect future commits.

Set or update user name for local Git profile using terminal

The first thing you should do when you install Git is to set your name and email address.

This is important because every Git commit uses this information. By default this information will be used if none other specified.

And it’s immutably baked into the commits you create.


Commands to configure Git user profile

  • git config --global user.name "your-name"
  • git config --global user.email "your-email"

The --global option will set your global commit name & email address.

Once done, verify that the information is configured by executing below command in terminal:

git config --list

Example
git config --global user.name "Jane Doe"
git config --global user.email "jane.doe@example.com"

Hope you like this!

Keep helping and happy 😄 coding

Reader Quality Feedback

Did this technical guide help solve your problem?

Suggest Errata ($0)
Vishnu
Primary Author

Vishnu

Founder & Principal Architect at MeshWorld. Senior engineer and instructor specializing in AI agent systems, scalable web architecture, and modern development workflows.

Explore Author Archive
Compute Fuel & Open Testbed
100% Independent & Verified

Fuel High-Density, Zero-Fluff Engineering Deep-Dives

Every guide on MeshWorld is validated on physical Linux nodes and reproducible testbeds. If this article saved you hours of debugging or unblocked production, consider funding our next cluster run.

Weekly Dispatch

Join MeshWorld Dispatch

Get practical tutorials, system blueprints, and curated AI engineering notes straight to your inbox. No fluff, zero spam.

Zero spam. 1-click unsubscribe anytime.Prefer RSS?
Curated Continuations

Up Next in This Domain.

Browse Full Archive