【Git教學】 超輕鬆 git config 設定指南
git config 是什麼? git config 是一個記錄了 git 操作的所有基本檔案資料,比方說 git init 創建時預設的 branch 名稱、寫 git commit 的顯示模板、和當 push github 時的使用者資料,都可以在 git config 中調整修改。 git config 的 Scopes: 分成三個層級 System、Global、Local,如果將基本資料寫在 Local 層級的話會覆蓋過其他的層級,而 Global 層級則會覆蓋過 System 層級。 以下是各層級放置的資料位置: System: /usr/local/git/etc Global: ~/.gitconfig Local: .git/config 如何顯示所有的 git 設定 有三 […]
閱讀全文