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