二、git环境配置

1 #查看[全局]配置:
2 git config [--global] --list
1 #设置提交代码时的用户名和邮箱:
2 git config [--global] user.name "[name]"
3 git config [--global] user.email "[email address]"
1 #重置用户名和密码
2 git config --replace-all user.name "[name]"
3 git config --replace-all user.email "[email address]"

 

posted @ 2021-08-01 21:56  大米饭盖饭  阅读(45)  评论(0)    收藏  举报