#查看系统系统配置
git config --system --list
#查看全局配置信息 git config --global --list #查看当前仓库的信息 git config --local --list #查看全局配置信息 git config --global --list #删除全局配置项(用户名) git config --global --unset user.name #进入目录下,为某个仓库单独配置信息 git config user.name "" #删除该仓库的信息 git config unset user.name ""