Created
April 23, 2023 17:37
-
-
Save alexpts/adb9170353445908949465fe74359d39 to your computer and use it in GitHub Desktop.
GitConfig Glob Mask
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Базовый ~/.gitconfig, для суб директорий можно подключить свои конфиги, например для личных и рабочик проектов | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
# extend and overwrite config for glob path | |
[includeIf "gitdir:~/www/**/*"] | |
path = ~/www/.gitconfig | |
[includeIf "gitdir:~/www/alex/**/*"] | |
path = ~/www/alex/.gitconfig | |
[init] | |
defaultBranch = master | |
[core] | |
autocrlf = input |
Author
alexpts
commented
Apr 23, 2023
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment