Git切换用户

查看当前用户名以及用户邮箱:

1 git config user.name
2 git config user.email

切换用户:

1 git config --global user.name "YOURUSERNAME" 
2 git config --global user.email "YOUREMAIL"

猜你喜欢

转载自www.cnblogs.com/xlf721/p/10767985.html
今日推荐