git 初始设置

set name and email address

$ git config --global user.name "Firstname Lastname"
$ git config --global user.email "[email protected]"

Will be set in dir: ~/.gitconfig

stark@appledeMacBook-Air git-tutorial % cat ~/.gitconfig
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
	name = Lapland-Stark
	email = Ellie_Stark1984@163.com
发布了64 篇原创文章 · 获赞 6 · 访问量 5543

猜你喜欢

转载自blog.csdn.net/weixin_45494811/article/details/104231818