image.png
$ git config user.name
$ git config user.email
$ git config --global user.name "username"
$ git config --global user.email "email"
修改局部用户名和邮箱地址:
$ cd ~/you project
$ git config user.name "username"
$ git config user.email "email"
Git Bash如何删除用户名,重新输入
(快捷打开win+R,输入control) 点击凭据管理器 点击windows凭据删除你的git凭据即可
查看config配置:git config --list
清除缓存的用户名和密码:git credential-manager uninstall
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有