git---查看当前账户和切换账户

查看当前用户名和邮箱:

【git config user.name】

【git config user.email】

修改用户名和邮箱:

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

发布了147 篇原创文章 · 获赞 33 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/maidu_xbd/article/details/103302622
今日推荐