git config 查看配置信息
config 配置指令1gitconfig config 配置有system级别 global(用户级别) 和local(当前仓库)三个 设置先从system-》global-》local 底层配置会覆盖顶层配置 分别使用--system/global/local 可以定位到配置文件
文章共3,808字 · 阅读需要大约13分钟
一键AI生成摘要,助你高效阅读
问答
·
config 配置指令
1
|
git config
|
config 配置有system级别 global(用户级别) 和local(当前仓库)三个 设置先从system-》global-》local 底层配置会覆盖顶层配置 分别使用--system/global/local 可以定位到配置文件
查看系统config
1
|
git config --system --list
|
查看当前用户(global)配置
1
|
git config --global --list
|
查看当前仓库配置信息
1
|
git config --
local
--list
|
更多推荐
已为社区贡献3条内容
所有评论(0)