Quantcast
Channel: Code Yarns » git
Viewing all articles
Browse latest Browse all 12

How to set user name and email in Git

$
0
0

To commit and perform other operations in Git, the name and email of the user is required. These are global configuration values in Git.

Setting them from the commandline is easy:

git config --global user.name "Average Joe"
git config --global user.email "joe@bloke.com"

These settings are written to the global gitconfig file for this user.

If you prefer using the TortoiseGit GUI to perform this operation, see this post.

Tried with: Git 1.8.0


Tagged: email, git, username

Viewing all articles
Browse latest Browse all 12

Trending Articles