「GitLab」Git BashでWindowsの System、Gloal、local設定値を確認する方法
1.Systemレベルの設定値
構文
git config -l –system
操作例
$ git config -l –system
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
http.sslbackend=openssl
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
core.autocrlf=false
core.fscache=true
core.symtestnks=false
credential.helper=manager
2.Globalレベルの設定値
構文
git config -l –global
操作例
$ git config -l –global
gui.recentrepo=C:/Users/xxx/git/sample
user.name=xxx
user.email=xxx
core.quotepath=off
core.autocrlf=false
3.Localレベルの設定値
構文
git config -l –local
操作例
$ git config -l –local
core.repositoryformatversion=0
core.filemode=false
core.logallrefupdates=true
remote.origin.url=http://test@xxx/gitlab/sample.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.2020prj.remote=origin
branch.2020prj.merge=refs/heads/2020prj
4.現在有効な設定値
構文
git config -l
操作例
$ git config -l
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
http.sslbackend=openssl
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
core.autocrlf=false
core.fscache=true
core.symtestnks=false
credential.helper=manager
gui.recentrepo=C:/Users/xxx/git/sample
user.name=xxx
user.email=xxx
core.quotepath=off
core.autocrlf=false
core.repositoryformatversion=0
core.filemode=false
core.logallrefupdates=true
remote.origin.url=http://test@xxx/gitlab/sample.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.2020prj.remote=origin
branch.2020prj.merge=refs/heads/2020prj