码迷,mamicode.com
首页 > 其他好文 > 详细

github commit时出现 Please tell me who you are.以及项目名称管理

时间:2017-10-03 22:19:53      阅读:246      评论:0      收藏:0      [点我收藏+]

标签:项目   存在   nbsp   string   默认   ...   font   global   family   

github commit时出现 Please tell me who you are.....

第一种设置全局的,

直接在命令行输入

git config --global user.email "you@example.com"

git config --global user.name "Your Name"

 

第二种设置单独的,在每个仓库里的.git下有个config文件,在里面添上

[user]
    name = XXX(自己的名称)
    email = XXXX(邮箱)

当全局的和单独的都存在时,默认使用单独的

github commit时出现 Please tell me who you are.以及项目名称管理

标签:项目   存在   nbsp   string   默认   ...   font   global   family   

原文地址:http://www.cnblogs.com/creativepower/p/7624596.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!