码迷,mamicode.com
首页 > 其他好文 > 详细

如何在vscode修改git 的账号和邮箱

时间:2020-07-08 22:46:00      阅读:269      评论:0      收藏:0      [点我收藏+]

标签:code   修改   use   --   help   conf   oba   user   版本   

git config --global user.name "用户名"

git config --global user.email "用户邮箱"

同时还可以设置让VSCode记住git账号和密码:git config --global credential.helper store

git config --list 查看所有
git --version //查看git的版本信息
git config --global user.name //获取当前登录的用户
git config --global user.email //获取当前登录用户的邮箱




如何在vscode修改git 的账号和邮箱

标签:code   修改   use   --   help   conf   oba   user   版本   

原文地址:https://www.cnblogs.com/bbldhf/p/13269577.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!