当前位置:
首页 >
git 默认的名字和账号
发布时间:2023/12/14
46
豆豆
生活随笔
收集整理的这篇文章主要介绍了
git 默认的名字和账号
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
1.添加
$ git config --global user.name "yourName"$ gi config --global user.email "your@email.com"2.修改
(1)覆盖的形式:
$ git config --global user.name "yourName"
$ git config --global user.email "your@email.com"
(2)替换的形式:
$ git config --global --replace-all user.name "yourName" $ git config --global --replace-all user.email "your@email.com"3.删除
$ git config --global --unset user.name "yourName"$ git config --global --unset user.email "your@email.com"4.查看
(1)查看所有:
$ git config --list(2)查看指定信息:
$ git config user.name$ git config user.email
总结
以上是生活随笔为你收集整理的git 默认的名字和账号的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: jsp页面转换成html,jsp页面修改
- 下一篇: 微信点赞的测试用例