git 默认的名字和账号
生活随笔
收集整理的這篇文章主要介紹了
git 默认的名字和账号
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
?
?
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?
總結(jié)
以上是生活随笔為你收集整理的git 默认的名字和账号的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: jsp页面转换成html,jsp页面修改
- 下一篇: 微信点赞的测试用例