← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fix for .gitconfig to enable .bzrignore for git and added explanation for its use.

 

But are you sure that you need to enabled that in the .git/config?

2015-06-21 12:04 GMT+02:00 Nick Østergaard <oe.nick@xxxxxxxxx>:
> Ahh that was what was missing, i have been wondering about that for a while.
>
> 2015-06-21 5:12 GMT+02:00 Marco Hess <marco.hess@xxxxxxxxxxxxxx>:
>> I am using Git in my KiCad development and found that I had problems with
>> ignoring generated files.
>>
>> After some stuffing around I found it was supposed to be handled through
>> configuring git to use the .bzringore file through a .gitconfig file.
>>
>> However, this was not working correctly with the = sign missing in the
>> config file that I fixed.
>>
>> Also, I took the opportunity to add a bit of explantion to the .gitconfig
>> file as to what its intention is and how to enable it correctly for the
>> local repository.
>>
>> Regards,
>>
>> Marco
>>
>>
>> diff --git a/.gitconfig b/.gitconfig
>> index 079dcc9..fa66653 100644
>> --- a/.gitconfig
>> +++ b/.gitconfig
>> @@ -1,2 +1,13 @@
>> +# When using the KiCad repository via Git, this .gitconfig
>> +# configures Git to use the .bzrignore so there is not need for
>> +# a separate .gitignore file.
>> +#
>> +# However, this .gitconfig file needs to be enable explicitly in your
>> +# git configuration. For example in the local .git/config file
>> +# add the following lines:
>> +#
>> +# [include]
>> +#    path = ../.gitconfig
>> +#
>>  [core]
>> -    excludesfile .bzrignore
>> +    excludesfile = .bzrignore
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp


Follow ups

References