安装Git后,为了能够连接远程仓库,需配置Git用户名、邮箱和密码
设置用户名
git config --global user.name "Your Name"
设置邮箱
git config --global user.email "email@example.com"
设置密码
git config --global user.password "Your Password"
右键鼠标,点击下图红框内菜单,进入Git Bash命令行
命令输入后,系统会在C:\Users\{{user}}路径中生成.gitconfig文件
文章来源:https://www.toymoban.com/news/detail-810596.html
文章来源地址https://www.toymoban.com/news/detail-810596.html
到了这里,关于Git 配置用户名、邮箱和密码的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!