您的位置:首页 > 大数据 > 人工智能

git user.name user.email到底是干嘛用的

2015-01-07 10:07 471 查看


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.

[/code]
$
git config --global user.email johndoe@example.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: