- Git
- Introduction
- here
Email address and name registration
Register your email address and name in Git as personal identification information. This is used as personal identification information when committing.
# Name setting git config --global user.name "John Doe" # Email address settings git config --global user.email johndoe@example.com
This setting is saved in "~ / .gitconfig". Let's take a look at the contents with the cat command.
cat ~ / .gitconfig
This is the output sample.
[user] email = kimoto_yuki@example.com name = Yuki Kimoto [core] editor = vi