Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to set user name and email in Git

📅 2012-Dec-04 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ email, git, username ⬩ 📚 Archive

To commit and perform such operations in Git, a user name and email need to be provided. These are global configuration values in Git.

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

Tried with: Git 1.8.0


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧