ddzy / blog

Do more thinking
https://yyge.top/blog
4 stars 1 forks source link

单机多git账号配置 #51

Open ddzy opened 4 years ago

ddzy commented 4 years ago

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/

个人博客 - 多做, 多思考, 多记录

ddzy commented 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
ddzy commented 4 years ago

关于 gituser.nameuser.email 配置项: