git config (21)
查看所有的配置以及它们所在的文件:
$ git config --list --show-origin
$ git config --list --show-origin file:"C:\\ProgramData/Git/config" core.symlinks=false file:"C:\\ProgramData/Git/config" core.autocrlf=true file:"C:\\ProgramData/Git/config" core.fscache=true file:"C:\\ProgramData/Git/config" color.diff=auto file:"C:\\ProgramData/Git/config" color.status=auto file:"C:\\ProgramData/Git/config" color.branch=auto file:"C:\\ProgramData/Git/config" color.interactive=true file:"C:\\ProgramData/Git/config" help.format=html file:"C:\\ProgramData/Git/config" rebase.autosquash=true file:"D:\\Program Files\\Git\\mingw64/etc/gitconfig" http.sslcainfo=D:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt file:"D:\\Program Files\\Git\\mingw64/etc/gitconfig" http.sslbackend=openssl file:"D:\\Program Files\\Git\\mingw64/etc/gitconfig" diff.astextplain.textconv=astextplain file:"D:\\Program Files\\Git\\mingw64/etc/gitconfig" filter.lfs.clean=git-lfs clean -- %f file:"D:\\Program Files\\Git\\mingw64/etc/gitconfig" filter.lfs.smudge=git-lfs smudge -- %f file:"D:\\Program Files\\Git\\mingw64/etc/gitconfig" filter.lfs.process=git-lfs filter-process file:"D:\\Program Files\\Git\\mingw64/etc/gitconfig" filter.lfs.required=true file:"D:\\Program Files\\Git\\mingw64/etc/gitconfig" credential.helper=manager file:C:/Users/Administrator/.gitconfig user.name=lianghong file:C:/Users/Administrator/.gitconfig user.email=642936744@qq.com file:C:/Users/Administrator/.gitconfig credential.helper=manager file:C:/Users/Administrator/.gitconfig winupdater.recentlyseenversion=2.29.2.windows.2 file:C:/Users/Administrator/.gitconfig core.editor=vim file:C:/Users/Administrator/.gitconfig http.sslverify=false file:.git/config core.repositoryformatversion=0 file:.git/config core.filemode=false file:.git/config core.bare=false file:.git/config core.logallrefupdates=true file:.git/config core.symlinks=false file:.git/config core.ignorecase=true file:.git/config remote.origin.url=https://gitee.com/yilianghong/rt1052-sdk2.1.2.git file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* file:.git/config branch.master.remote=origin file:.git/config branch.master.merge=refs/heads/master file:.git/config branch.test-awtk-fps.remote=origin file:.git/config branch.test-awtk-fps.merge=refs/heads/test-awtk-fps file:.git/config branch.feature-flexpwm-cap.remote=origin file:.git/config branch.feature-flexpwm-cap.merge=refs/heads/feature-flexpwm-cap
查看git 配置信息
git config --list
$ git config --list core.symlinks=false core.autocrlf=true core.fscache=true color.diff=auto color.status=auto color.branch=auto color.interactive=true help.format=html rebase.autosquash=true http.sslcainfo=D:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt http.sslbackend=openssl diff.astextplain.textconv=astextplain filter.lfs.clean=git-lfs clean -- %f filter.lfs.smudge=git-lfs smudge -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true credential.helper=manager user.name=lianghong user.email=642936744@qq.com credential.helper=manager winupdater.recentlyseenversion=2.29.2.windows.2 core.editor=vim http.sslverify=false core.repositoryformatversion=0 core.filemode=false core.bare=false core.logallrefupdates=true core.symlinks=false core.ignorecase=true remote.origin.url=https://gitee.com/yilianghong/rt1052-sdk2.1.2.git remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* branch.master.remote=origin branch.master.merge=refs/heads/master branch.test-awtk-fps.remote=origin branch.test-awtk-fps.merge=refs/heads/test-awtk-fps branch.feature-flexpwm-cap.remote=origin branch.feature-flexpwm-cap.merge=refs/heads/feature-flexpwm-cap