【分析 git config --list 的使用,加深它的理解】

孟宏才
2023-12-01

学习目标:

分析 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=C:/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.email=有效邮箱
user.name=用户名
difftool.sourcetree.cmd=‘C:/Program Files (x86)/Beyond Compare 4/BComp.exe’ “ L O C A L " " LOCAL" " LOCAL""REMOTE”
mergetool.sourcetree.cmd=‘C:/Program Files (x86)/Beyond Compare 4/BComp.exe’ “ L O C A L " " LOCAL" " LOCAL""REMOTE” “ B A S E " − o " BASE" -o " BASE"o"MERGED”
mergetool.sourcetree.trustexitcode=true
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
remote.origin.url=远程GIT 仓库URL地址
remote.origin.fetch=+refs/heads/:refs/remotes/origin/
branch.Release.remote=origin
branch.Release.merge=refs/heads/Release
branch.haiguanzongshu_aTrust-2021110505.remote=origin
branch.haiguanzongshu_aTrust-2021110505.merge=refs/heads/haiguanzongshu_aTrust-2021110505
submodule.sdp-mobile.active=true
submodule.sdp-mobile.url=子GIT工程的URL地址
branch.haiguanzongshu_aTrust-2021110505_dengbing.remote=origin
branch.haiguanzongshu_aTrust-2021110505_dengbing.merge=refs/heads/haiguanzongshu_aTrust-2021110505_dengbing

学习内容:

提示:这里可以添加要学的内容

例如:

  1. http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
    http.sslbackend=openssl
    这两句就是配置了SSH提交,不用每次都用户名密码登录了;
  2. user.email=XXX
    user.name=XXX
    这个也不必说是什么了;
  3. difftool.sourcetree.cmd=‘C:/Program Files (x86)/Beyond Compare 4/BComp.exe’ “ L O C A L " " LOCAL" " LOCAL""REMOTE”
    mergetool.sourcetree.cmd=‘C:/Program Files (x86)/Beyond Compare 4/BComp.exe’ “ L O C A L " " LOCAL" " LOCAL""REMOTE” “ B A S E " − o " BASE" -o " BASE"o"MERGED”
    比较工具和合并工具配为sourcetree,sourcetree又用Beyond Compare进行比较合并进行工作;
  4. submodule.sdp-mobile.active=true
    submodule.sdp-mobile.url=git@cs.devops.sangfor.org:sslvpn/client/sdp-client/sdp-mobile.git
    这个是用来配置子GIT工程为激活模式;
    5.branch.haiguanzongshu_aTrust-2021110505_dengbing.remote=origin
    branch.haiguanzongshu_aTrust-2021110505_dengbing.merge=refs/heads/haiguanzongshu_aTrust-2021110505_dengbing
    这个就显示了haiguanzongshu_aTrust-2021110505_dengbin的远程分支名就是haiguanzongshu_aTrust-2021110505_dengbin

学习时间:

提示:这里可以添加计划学习的时间

例如:

  • 周一至周五晚上 7 点—晚上9点
  • 周六上午 9 点-上午 11 点
  • 周日下午 3 点-下午 6 点

学习产出:

提示:这里统计学习计划的总量

例如:

  • 技术笔记 2 遍
  • CSDN 技术博客 3 篇
  • 习的 vlog 视频 1 个
 类似资料: