当前位置:   article > 正文

git配置姓名和邮箱_git配置用户名和邮箱

git配置用户名和邮箱

1.查看git配置信息

git config --list
  • 1

2.查看git用户名、密码、邮箱的配置

$ git config user.name
$ git config user.password
$ git config user.email
  • 1
  • 2
  • 3

3.配置(修改)git用户名、密码、邮箱的配置

$ git config user.name “xxxxx”
$ git config user.password “xxxxxx”
$ git config user.email “xx@xx
  • 1
  • 2
  • 3

4.配置(修改)git用(global)户名、密码、邮箱的配置

$ git config --global user.name "xxxx"

$ git config --global user.password "xxxx"


$ git config --global user.email “xx@xx
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/442785
推荐阅读
相关标签
  

闽ICP备14008679号