All technological notes.
显示所有配置,包括三层级别的配置
git config --list
可以使用参数 -l
git config -l

git config --system –list

如果返回的信息过长,可以按”q”退出。
命令
git config --global –list

命令
git config --local –list

命令
git config --global <section.key>

git config --local --get <section.key>


命令
git config --global --add <section.key> <value>

git config --global <section.key> <value>

命令
git config --local <section.key> <value>

命令
git config --local --unset < section.key >

如果没有section.key,则不会返回值。
调用编辑软件打开配置文件
git config --local --edit
