Quantcast
Viewing all articles
Browse latest Browse all 12

How to set user name and email in Git

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 Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 12

Trending Articles