[includeIf "gitdir:path/to/folder/"] Windows 11 #5516
Unanswered
prisonerMO
asked this question in
Q&A
Replies: 1 comment
-
Isn't the actual gitdir |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have tried with many different way to define include if .config in .git config
Using windows 11
Git version 2.49.0
i have tried with gitdir/i: and without.
Example
includeIf "gitdir:C:/Users/username/work/"]
path = .gitconfig-work
Located git config in ~/ and in work folder.
Still git config user.name returns my global user name
Beta Was this translation helpful? Give feedback.
All reactions