用户凭据配置

您必须至少配置您的用户和电子邮件地址才能提交到Git存储库,因为此信息存储在每个提交中。

1
2
3
4
5
6
7
8
9
10
# configure the user which will be used by Git

# this should be not an acronym but your full name

git config --global user.name "Firstname Lastname"


# configure the email address

git config --global user.email "your.email@example.org"
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×