Configuration for global ignore patterns in ~/.config/git/config:
[core]
excludesfile = .gitignore
doesn't get looked up per default in ~/.config/git/ which might be
considered a bug as the .gitignore file isn't loaded. It's only loaded
when .gitignore is located in $HOME or explicitly
configured conditionally
even for a plain directory.
More details see this
(http://stackoverflow.com/questions/43919191/git-2-13-conditional-config-on-windows/)
Stack Overflow question.
Best regards,
Raphael Stolt
> Am 10.05.2017 um 23:21 schrieb Raphael Stolt <raphael.st...@gmail.com>:
>
>>
>> Am 10.05.2017 um 21:48 schrieb Ævar Arnfjörð Bjarmason <ava...@gmail.com>:
>>
>> On Wed, May 10, 2017 at 8:58 PM, Sebastian Schuberth
>> <sschube...@gm
ional configuration:
>>>
b)
>>> ~/.gitconfig
>>> [includeIf "gitdir:~/Work/git-repos/oss/"]
>>> path = .oss-gitconfig
>>
>>
>> My guess is, because includeIf might contain other conditionals than
>> "gitdir", the g
Expected configuration which doesn't find the conditional configuration:
~/.gitconfig
[includeIf "gitdir:~/Work/git-repos/oss/"]
path = .oss-gitconfig
Best regards,
Raphael Stolt
5 matches
Mail list logo