git 不同目錄用不同的配置

南风--發表於2024-10-22

https://nicknisi.com/posts/git-includeif/

# inside of ~/.gitconfig
[includeIf "gitdir:~/work/"]
  path = ~/.gitconfig-work
[includeIf "gitdir:~/oss/"]
  path = ~/.gitconfig-oss

相關文章