From documentation I would say, no. ( git-scm.com/docs/git-config#Docume... ).
But I just checked it in WSL and it looks to work.
Correction. Iput: [includeIf "gitdir:~/work/*/ome"] [user] email = "work@email.com"
And it matched ~/work/test
So it seems to match to much.or just ignores everything after a wildcard.
I would suggest using symlinks, but I see that you are using windows.
Thank's man !
@yafkari : it looks like it matches to much. Please read comment above.
Maybe if you are constrained to windows try using WSL and then symlinks there. (but works with Windows 10 only :( ).
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
From documentation I would say, no. ( git-scm.com/docs/git-config#Docume... ).
But I just checked it in WSL and it looks to work.
Correction. Iput:
[includeIf "gitdir:~/work/*/ome"]
[user]
email = "work@email.com"
And it matched
~/work/test
So it seems to match to much.or just ignores everything after a wildcard.
I would suggest using symlinks, but I see that you are using windows.
Thank's man !
@yafkari : it looks like it matches to much. Please read comment above.
Maybe if you are constrained to windows try using WSL and then symlinks there. (but works with Windows 10 only :( ).