git config 查看配置信息


config 配置指令

1
git config

  config 配置有system级别 global(用户级别) 和local(当前仓库)三个 设置先从system-》global-》local  底层配置会覆盖顶层配置 分别使用--system/global/local 可以定位到配置文件

     查看系统config

1
git config --system --list

  查看当前用户(global)配置

1
git config --global  --list

      查看当前仓库配置信息

1
git config --  local     --list


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM