We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
通过git(>2.13)的include配置,可以合并外部的配置到~/.gitconfig,而includeIf可以添加条件,具体示例如下:
include
~/.gitconfig
includeIf
# .gitconfig [user] name = varHarrie email = varharrie@gmail.com [includeIf "gitdir:~/company/"] path = .gitconfig-company
# .gitconfig-company [user] name = My Name email = my-name@company.com
其中,includeIf支持以下条件参数:
具体配置,参考[官方文档](https://git-scm.com/docs/git-config#_includes)。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
通过git(>2.13)的
include
配置,可以合并外部的配置到~/.gitconfig
,而includeIf
可以添加条件,具体示例如下:其中,
includeIf
支持以下条件参数:具体配置,参考[官方文档](https://git-scm.com/docs/git-config#_includes)。
The text was updated successfully, but these errors were encountered: