git如何查看和切换账号

时间:2019-10-08 15:54:59   收藏:0   阅读:3420

1. 查看当前登录账号:

git config user.name

2. 查看当前登录邮箱:

git config user.email

3. 修改用户名和邮箱:

git config --global user.name "Your_username"
git config --global user.email "Your_email"

原文:https://www.cnblogs.com/robot-tech/p/11635572.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!