-
1.6 First-Time Git Setup
-
Your Identity
The first thing you should do when you install Git is to set your user name and e-mail address. This is important because every Git commit uses this information, and it’s immutably baked into the commits you start creating:
$git config --global user.name"John Doe"//An quote is needed,because there is a space between John and Doe.$git config --global user.email johndoe@example.com
本文介绍了初次安装Git后如何设置用户的姓名与电子邮件地址。这两项信息对于每一个Git提交至关重要,因为它们将永久地记录在每次提交的历史中。
3796

被折叠的 条评论
为什么被折叠?



