Ahh ok, I see. So I will have to do cat .gitconfig >> .git/config to actually enable it.
2015-06-21 13:18 GMT+02:00 Marco Hess <[email protected]>: > Yes, positive. I read up on it in the git documentation. The only config > file that Git uses > within a repository is .git/config. There is not supposed to be a config > file > that is part of the repository by default. It only becomes active when you > manually > enable it. > > > On 21-Jun-15 19:36, Nick Østergaard wrote: >> >> But are you sure that you need to enabled that in the .git/config? >> >> 2015-06-21 12:04 GMT+02:00 Nick Østergaard <[email protected]>: >>> >>> 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 <[email protected]>: >>>> >>>> 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 : [email protected] >>>> Unsubscribe : https://launchpad.net/~kicad-developers >>>> More help : https://help.launchpad.net/ListHelp > > > -- > Marco Hess > Through IP Pty. Ltd. - AUSTRALIA > www.through-ip.com | [email protected] > p: +61 407 78 55 66 | f: +61 8 8121 6191 > _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

