如何显示我的全局git配置? [英] How do I show my global git config?

查看:103
本文介绍了如何显示我的全局git配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想显示所有配置的git部分。



我只找到 git config --get core.editor ,我想输出全局配置,不仅是配置的默认编辑器。

解决方案

您可以使用 git config --list 你的〜/ .gitconfig 文件。本地配置将位于您的存储库的 .git / config 文件中。


I'd like to show all configured git sections.

I only found git config --get core.editor and I'd like to output everything that's configured globally, not only the configured default editor.

解决方案

You can use git config --list, or look at your ~/.gitconfig file. Local config will be in your repository's .git/config file.

这篇关于如何显示我的全局git配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆