Git 的 hasconfig:remote.*.url:
在「How I configure my Git identities (benji.dog)」這邊看到的文章:「How I configure my Git identities」。
裡面在講 Git 的設定,以往我們習慣依據環境放到不同目錄裡 (像是公司的 repository 放到 work/),再加上 includeIf 去針對不同目錄給不同的值 (像是 email),這個功能是在 2017 年五月出的 Git 2.13 引入的,當初 GitHub 也有針對這個功能寫了一篇介紹:「Git 2
https://blog.gslin.org/archives/2024/11/25/12100/git-%e7%9a%84-hasconfigremote-url/
#Computer #Murmuring #Network #Programming #Software #conditional #git #hasconfig #identity #includes #remote #url