1.查看git的配置列表

git config --list

所有项目

git config --global user.name  "username"  
git config --global user.email  "email"

当前项目

git config  user.name  "username"  
git config  user.email  "email"

2.修改已配置的信息

git config --replace-all user.name "name"
git config --replace-all user.email "123@qq.com"

 

相关文章:

  • 2022-02-08
  • 2022-12-23
  • 2021-10-22
  • 2021-07-18
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-25
  • 2021-09-02
  • 2022-12-23
  • 2021-11-05
  • 2021-07-28
  • 2021-09-01
  • 2022-01-01
相关资源
相似解决方案