How do I show my global Git configuration?

后端 未结 12 2147
遇见更好的自我
遇见更好的自我 2020-12-04 04:28

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

12条回答
  •  伪装坚强ぢ
    2020-12-04 04:44

    If you just want to list one part of the Git configuration, such as alias, core, remote, etc., you could just pipe the result through grep. Something like:

    git config --global -l | grep core
    

提交回复
热议问题