Git基础

查看当前项目的用户名和邮箱地址

git config user.name

git config user.email

修改当前项目的用户名和邮箱地址

 git config user.name "username"
 
 git config user.email "email"

查看全局用户名和邮箱地址

git config --global user.name

git config --global user.email

修改全局用户名和邮箱地址

git config --global user.name "username"

git config --global user.email "email"
posted @ 2023-02-01 16:24  陌路邑人  阅读(55)  评论(0)    收藏  举报