0


git 查看/配置 local/global 用户名称和用户邮箱

1、--local: 本地设置(仅对当前仓库有效)

git config --local user.name “你的名称”
git config --local user.email “你的邮箱”

2、--global 全局设置(对当前用户的所有仓库有效)

git config --global user.name “你的名称”
git config --global user.email “你的邮箱”

3、查看配置(查看已配置的git账户信息)

git config -list --loacal
git config -list --global

标签: git

本文转载自: https://blog.csdn.net/maple05/article/details/132535763
版权归原作者 鲨鱼辣椒不吃辣c 所有, 如有侵权,请联系我们删除。

“git 查看/配置 local/global 用户名称和用户邮箱”的评论:

还没有评论