Open ddzy opened 4 years ago
对于每一个项目, 都要手动去设置局部的:
用代码表示:
- git config --global user.name ddzy
+ git config user.name ddzy
- git config --global user.email 1766083035@qq.com
+ git config user.email 1766083035@qq.com
关于 git
的 user.name
和 user.email
配置项:
name
指代 commit 的作者, 可以任意取名, 不一定非得与 github
、gitlab
用户名相同email
则关联了 git
和 github
或 gitlab
, github
通过邮箱来获取用户的 git
提交记录
https://blog.yyge.top/blog/2019/11/26/%E5%8D%95%E6%9C%BA%E5%A4%9Agit%E8%B4%A6%E5%8F%B7%E9%85%8D%E7%BD%AE/
个人博客 - 多做, 多思考, 多记录